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

Definicja

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

Zwraca

Dotyczy