Share via


CoreStrings.FkAttributeOnSkipNavigation(Object, Object) Method

Definition

The [ForeignKey] attribute cannot be specified on the skip navigation '{entityType}'.'{navigation}'. Configure the foreign key properties in 'OnModelCreating' instead.

public static string FkAttributeOnSkipNavigation (object entityType, object navigation);
public static string FkAttributeOnSkipNavigation (object? entityType, object? navigation);
static member FkAttributeOnSkipNavigation : obj * obj -> string
Public Shared Function FkAttributeOnSkipNavigation (entityType As Object, navigation As Object) As String

Parameters

entityType
Object
navigation
Object

Returns

Applies to