Język

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

Definicja

Właściwość "{property}" nie może być częścią klucza obcego w obiekcie {entityType}, ponieważ zawiera wartość wygenerowaną przez magazyn i jest zawarta w kluczu {keyProperties} zdefiniowanym w typie jednostki bazowej {baseEntityType}. Skonfiguruj element "{property}" za pomocą polecenia "ValueGeneratedNever" lub zdefiniuj klucz obcy w elemencie "{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

Zwraca

Dotyczy