0
shedspotter created
Hi,
We are planning to migrate our existing Asp.Net MVC project into Asp.Net Zero Core 2.0 & Jquery. We are have some queries regarding datatype change for TenantId. By default its int. In our case, we have used CompanyId which is foreignkey in almost all tables, which is guid. In Asp.Net Zero, can we change datatype of TenantId to guid?.
1 Answer(s)
-
0
Hi
It is difficult to change tenant from int to Guid. You can consider adding a Guid column to the tenant entity.
https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Extending-Existing-Entities