RelationalEventId.OptionalDependentWithoutIdentifyingPropertyWarning Field

Definition

The entity does not have any property with a non-default value to identify whether the entity exists.

C#
public static readonly Microsoft.Extensions.Logging.EventId OptionalDependentWithoutIdentifyingPropertyWarning;

Field Value

Remarks

This event is in the DbLoggerCategory.Model.Validation category.

This event uses the EntityTypeEventData payload when used with a DiagnosticSource.

Applies to

Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0