CoreStrings.NavigationToShadowEntity(Object, Object, Object) Method

Definition

Caution

This API is now deprecated.

The navigation '{navigation}' cannot be added to the entity type '{entityType}' because the target entity type '{targetType}' is defined in shadow state, and navigations properties cannot point to shadow state entities.

C#
public static string NavigationToShadowEntity (object navigation, object entityType, object targetType);
C#
[System.Obsolete]
public static string NavigationToShadowEntity (object? navigation, object? entityType, object? targetType);

Parameters

navigation
Object
entityType
Object
targetType
Object

Returns

Attributes

Applies to

Product Versions (Obsolete)
Entity Framework Core 3.0, 3.1, 5.0 (6.0)