0
raju.thinnaluri@gmail.com created
Hi,
When the Modal primary key column with data type int or bigint (long) then after creating newly instead id not returning to the service. if it is GUID then we are getting the inserted ID
Here the ID always getting Zero.
But data inserting successfully. how we can get the last inserted id in case of data type other than GUID?
- ABP Framework version: v5.3.4
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): No
- Steps to reproduce the issue:" a table with int or long data type as identity column
5 Answer(s)
-
0
hi
Please your entity and WorkOrderSubTaskManger code.
-
0
-
0
hi
Can you try passing
true
toInsertAsync
method?InsertAsync(workordersubTask, true);
-
0
hi
Can you try passing
true
toInsertAsync
method?InsertAsync(workordersubTask, true);
Hi,
Thanks for your help. Now working. able to get the Id.
-
0
good news.