RelationalStrings.OptionalDependentWithDependentWithoutIdentifyingProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Entity type '{entityType}' is an optional dependent using table sharing and containing other dependents without any required non shared property to identify whether the entity exists. If all nullable properties contain a null value in database then an object instance won't be created in the query causing nested dependent's values to be lost. Add a required property to create instances with null values for other properties or mark the incoming navigation as required to always create an instance.
public static string OptionalDependentWithDependentWithoutIdentifyingProperty (object? entityType);
static member OptionalDependentWithDependentWithoutIdentifyingProperty : obj -> string
Public Shared Function OptionalDependentWithDependentWithoutIdentifyingProperty (entityType As Object) As String
Parameters
- entityType
- Object
Returns
Applies to
Entity Framework