Change Shadow Properties types
mohammad68a opened this issue · 3 comments
mohammad68a commented
Hi, I couldn't change the "CreatorUserId" and "LastModifierUserId" property type from long to int or something else.
please help me.
rabbal commented
According to conventions of this infrastructure, it is not possible.
mohammad68a commented
Don't close this issue, please
You can solve this problem, find out and help us. 👏
rabbal commented
This feature has been added after redesign.
services.AddEFCore<ProjectDbContext>()
.WithTrackingHook<long>()
.WithDeletedEntityHook()
.WithRowLevelSecurityHook<long>()
.WithRowIntegrityHook()
.WithNumberingHook(options =>
{
options.NumberedEntityMap[typeof(Task)] = new NumberedEntityOption
{
Prefix = "Task",
FieldNames = new[] {nameof(Task.BranchId)}
};
});