Finbuckle / Finbuckle.MultiTenant

Finbuckle.MultiTenant is an open-source multitenancy middleware library for .NET. It enables tenant resolution, per-tenant app behavior, and per-tenant data isolation.
https://www.finbuckle.com/multitenant
Apache License 2.0
1.32k stars 266 forks source link

Using RavenDB as store #283

Closed bobskigit closed 4 years ago

bobskigit commented 4 years ago

Has anyone experience of using this with RavenDB as the store?

AndrewTriesToCode commented 4 years ago

@bobskigit Hi Bob, I'm not aware of anythone using RavenDb as a store. If there is a EFCore provider for RavenDb then the EFCoreStore will probably work as-is. Otherwise it shouldn't be too difficult to implement IMultiTenantStore with the specifics needed to create/read/update/delete with RavenDb.

If you try it and run into any problems please let me know.

bobskigit commented 4 years ago

No worries, I've implemented it using IMultiTenantStore .

Well designed and documented library BTW, looking forward to next version

AndrewTriesToCode commented 4 years ago

Excellent. FYI In the next version there will be a change to IMultiTenantStore to support custom TenantInfo classes. I doubt it will be major change to your implementation.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.