Compartir a través de


CoreStrings.ForeignKeyPropertyInKey(Object, Object, Object, Object) Método

Definición

La propiedad '{property}' no puede formar parte de una clave externa en '{entityType}' porque tiene un valor generado por el almacén y está contenido en la clave {keyProperties} definida en un tipo de entidad base '{baseEntityType}'. Configure '{property}' con 'ValueGeneratedNever' o defina la clave externa en '{entityType}' en su lugar.

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

Parámetros

property
Object
entityType
Object
keykeyProperties
Object
baseEntityType
Object

Devoluciones

Se aplica a