Skip to content

Commit

Permalink
Add HasData limitation note for DateTime.Now (#4878)
Browse files Browse the repository at this point in the history
  • Loading branch information
roji authored Nov 14, 2024
1 parent d3b8614 commit 0261e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entity-framework/core/modeling/data-seeding.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ If your scenario includes any of the following it is recommended to use `UseSeed
* Data that needs key values to be generated by the database, including entities that use alternate keys as the identity
* Data that requires custom transformation (that is not handled by [value conversions](xref:core/modeling/value-conversions)), such as some password hashing
* Data that requires calls to external API, such as ASP.NET Core Identity roles and users creation
* Data that isn't fixed and deterministic, such as seeding to `DateTime.Now`.

<a name="manual-migration-customization"></a>

Expand Down

0 comments on commit 0261e68

Please sign in to comment.