Aracılığıyla paylaş


CoreStrings.ForeignKeyPropertyInKey(Object, Object, Object, Object) Yöntem

Tanım

'{property}' özelliği, depo tarafından oluşturulan bir değere sahip olduğundan ve '{baseEntityType}' temel varlık türünde tanımlanan {keyProperties} anahtarında yer aldığı için '{entityType}' üzerindeki yabancı anahtarın parçası olamaz. '{property}' öğesini 'ValueGeneratedNever' ile yapılandırın veya bunun yerine '{entityType}' üzerinde yabancı anahtarı tanımlayın.

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

Parametreler

property
Object
entityType
Object
keykeyProperties
Object
baseEntityType
Object

Döndürülenler

Şunlara uygulanır