Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multi-Tenancy through "TenantId" column in document tables #750
Splitting off from #435. A tenancy strategy where all tenants are stored in the same tables, but we use some kind of "tenant id" column to segregate data. You could always just do this yourself as long as you remember to always query by the right tenant id, but it'd be a lot easier if Marten just supported this pattern.
I think this one is straight forward enough that it'll be the first strategy and create the template for acceptance tests.
Default where fragment logic on DocumentMapping when it's multi-tenanted
Filter() logic on DocumentMapping when it's multi-tenanted