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
We should consider adding a flag that will cause reverse engineering to ignore column defaults when defining the EF model. However, some thought needs to go into how this would interact with update-from-database.
The text was updated successfully, but these errors were encountered:
Note from triage: T4 template can now be edited to allow this.
So how do we do this so that default constraints in the database are ignored? I'm working with a database that has default constraints, but the bit values are not null. I do not want my entities to have bool? for fields that will NEVER be null. I'm mindblown there's not a flag to simply ignore the database default option.
We should consider adding a flag that will cause reverse engineering to ignore column defaults when defining the EF model. However, some thought needs to go into how this would interact with update-from-database.
The text was updated successfully, but these errors were encountered: