You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed behaiour
"Db Default Value" (or whatever) property in "Database" category for entity fields which would generate .HasDefaultValueSql(string) clause in DbContext.OnModelCreating() method. E.g. "(getdate())", "(newid())" or user-defined functions.
User scenarios:
SQL scripts to update DB besides EF Migrations;
importing data directly to DB
Current behaviour
Allows only initial values of the same type as field type. Doesn't allow string expressions.
Versions
EF Visual Editor: 4.1.2.0
Visual Studio 2022: 17.1.3
The text was updated successfully, but these errors were encountered:
msawczyn
added
released
Issue is resolved in a current release
and removed
pending release
Issue is resolved in the current codebase, will be published with the next release
labels
Aug 13, 2022
Proposed behaiour
"Db Default Value" (or whatever) property in "Database" category for entity fields which would generate .HasDefaultValueSql(string) clause in DbContext.OnModelCreating() method. E.g. "(getdate())", "(newid())" or user-defined functions.
User scenarios:
Current behaviour
Allows only initial values of the same type as field type. Doesn't allow string expressions.
Versions
EF Visual Editor: 4.1.2.0
Visual Studio 2022: 17.1.3
The text was updated successfully, but these errors were encountered: