abp icon indicating copy to clipboard operation
abp copied to clipboard

Add multitenancy to the "Tenant" entity

Open 1d0n7kn0w opened this issue 5 years ago • 3 comments

I want to implement IMultiTenant to the "Tenant" entity. Is that possible? I don't want to add the property "TenantId" by extending the entity, because I will lose all the mechanisms that abp.io does in the background to manage IMultiTenant entities

1d0n7kn0w avatar Nov 07 '21 04:11 1d0n7kn0w

This is not as designed, but you can download the source code of the module to customize it.

maliming avatar Nov 07 '21 05:11 maliming

@maliming making the "Tenant" class partial can be a solution, what do you think?

1d0n7kn0w avatar Nov 08 '21 01:11 1d0n7kn0w

I am not sure, you can give it a try.

maliming avatar Nov 08 '21 01:11 maliming