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
If a property on an Entity Framework table is a nullable type (such as String or another class), the column is treated as optional and the DB will accept null. For values that shouldn't be null, we should set the [Required] attribute.
The text was updated successfully, but these errors were encountered:
This will also cascade deletes to related entities, which we mostly want. For example, Setting it to the Event property of Puzzle will make it so deleting an event automatically deletes its puzzles.
If a property on an Entity Framework table is a nullable type (such as
String
or another class), the column is treated as optional and the DB will accept null. For values that shouldn't be null, we should set the[Required]
attribute.The text was updated successfully, but these errors were encountered: