Sdílet prostřednictvím


CoreStrings.ForeignKeyPropertyInKey(Object, Object, Object, Object) Metoda

Definice

Vlastnost {property} nemůže být součástí cizího klíče pro {entityType}, protože má hodnotu vygenerovanou úložištěm a je obsažena v klíči {keyProperties} definovaném u základního typu entity {baseEntityType}. Nakonfigurujte {property} s hodnotou ValueGeneratedNever nebo definujte cizí klíč pro {entityType}.

public static string ForeignKeyPropertyInKey (object property, object entityType, object key, object baseEntityType);
public static string ForeignKeyPropertyInKey (object property, object entityType, object keyProperties, object baseEntityType);
public static string ForeignKeyPropertyInKey (object? property, object? entityType, object? keyProperties, object? baseEntityType);
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, key As Object, baseEntityType As Object) As String
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, keyProperties As Object, baseEntityType As Object) As String

Parametry

property
Object
entityType
Object
keykeyProperties
Object
baseEntityType
Object

Návraty

Platí pro