0
Priyanka created
- ABP Framework version: vX.X.X
- UI Type: React
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace: There is no exception message
- Steps to reproduce the issue: Call insert Many
In case of insert using abp, creation time and creator id is updating automatically, but in case of insert many, creator id and creation time is not inserting, as it is get only field, I'm not able to assign any value. Please help me with the solution.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
1 Answer(s)
-
0
hi
ObjectHelper.TrySetProperty(your_entity, x => x.CreatorId, () => CurrentUser.Id); ObjectHelper.TrySetProperty(your_entity, x => x.CreationTime, () => Clock.Now);Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)