0
moetarhini created
I am using Aspnetzero framework with Angular 8. when I add new entity that implements IMustHaveTenant the TenantId is added to the entity table but the foreign key constraint is not added. My question is should we add this constrain for data integrity with AbpTenant table or not?. If yes what is the best practice to add it.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
1
@moetarhini - there is no foreign key because it is a multi-database solution. Your entity may not be in the same database as your tenant.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4865
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks guys
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)