Base solution for your next web application
Open Closed

Regarding DataType change #9411


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team

    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