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
{{ message }}
Repository navigation
Update optional dependents message to indicate non-null value rather than non-default #26800
The entity of type 'Dependent' is an optional dependent using table sharing. The entity does not have any property with a non-default value to identify whether the entity exists. This means that when it is queried no object instance will be created instead of an instance with all properties set to default values. Any nested dependents will also be lost. Either don't save any instance with only default values or mark the incoming navigation as required in the model. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values of the entity.
Activity
Update exception message for optional dependent without identifying p…
Update exception message for optional dependent without identifying p…
voroninp commentedon Jun 21, 2022
does it mean:
If all properties of saved instance had default values, then returned value for the object will be just null.
How do I turn this warning off for concrete type?