Поделиться через


CoreStrings.SkipNavigationForeignKeyWrongPrincipalType Метод

Определение

Внешний ключ {foreignKeyProperties} нельзя использовать для пропуска навигации "{entityType}". {navigation}", так как он объявлен в типе сущности "{entityType}", но ожидается внешний ключ для "{principalEntityType}".

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

Параметры

foreignKeyProperties
Object
navigationentityType
Object
entityTypenavigation
Object
principalEntityType
Object

Возвращаемое значение

Применяется к