-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The CreationTime property cannot be customized to modify the value #564
Comments
When the attribute is assigned, it will not be assigned again, this will be fixed in subsequent versions |
Fixed in #566 |
I have updated p30, but this issue still exists
I have updated p30, but this issue still exists |
preview.30 does not fix this issue, it will be resolved in the next version |
Fixed in 1.0.0-preview.31 @dotnet9 |
Thanks very much. After upgrade the nuget package, these fields have been updated normally. |
Description
The CreationTime is initialized in AuditAggregateRoot. I wrote the method of modifying the time in the inherited class. The last time to write to the database is not the seed time, but the time when the framework is initialized.
This is the value that comes up when debugging:
The value inserted by the database is not the expected seed data time, but the current system time when the data was created:
Reproduction Steps
No response
Expected behavior
Can customize and modify CreationTime
Actual behavior
CreationTime cannot be customized
Known Workarounds
No response
.NET version
.NET 8 Preview 3
MASA Framework version
1.0.0-preview.28
Other information
No response
The text was updated successfully, but these errors were encountered: