0
nabass created
hi sir i have a problem into my manager class in Domain Application according to your documentation you use DomainService which includes GuidGenerator.create to create Guid but what if my class is from (int) type like image below what should i do??
- ABP Framework version: v8
- UI Type:MVC
- Database System: EF Core (SQL Server)
1 Answer(s)
-
0
hi
You don't need the
Guid Generator
if your key is notGUID
.See https://learn.microsoft.com/en-us/ef/core/modeling/generated-properties?tabs=data-annotations https://learn.microsoft.com/en-us/ef/core/modeling/keys?tabs=data-annotations#value-generation