CoreStrings.PropertyCalledOnNavigation(Object, Object) Method

Definition

'{property}' cannot be used as a property on entity type '{entityType}' because it is configured as a navigation.

C#
public static string PropertyCalledOnNavigation (object property, object entityType);
C#
public static string PropertyCalledOnNavigation (object? property, object? entityType);

Parameters

property
Object
entityType
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0