Jazyk

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á vygenerovanou hodnotu úložiště a je obsažena v klíči {keyProperties} definovaném v základním typu entity {baseEntityType}. Nakonfigurujte vlastnost {property} s hodnotou ValueGeneratedNever nebo místo toho definujte cizí klíč pro {entityType}.

public static string ForeignKeyPropertyInKey(object? property, object? entityType, object? keyProperties, object? baseEntityType);
public static string ForeignKeyPropertyInKey(object property, object entityType, object key, 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, keyProperties As Object, baseEntityType As Object) As String
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, key As Object, baseEntityType As Object) As String

Parametry

property
Object
entityType
Object
keyPropertieskey
Object
baseEntityType
Object

Návraty

Platí pro