Język

CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) Metoda

Definicja

Nie można usunąć właściwości {property} z typu {type}, ponieważ jest ona używana w kluczu obcym {foreignKeyProperties} w obiekcie "{foreignKeyType}". Przed usunięciem właściwości należy usunąć lub ponownie zdefiniować wszystkie klucze obce.

public static string PropertyInUseForeignKey(object? property, object? type, object? foreignKeyProperties, object? foreignKeyType);
public static string PropertyInUseForeignKey(object property, object entityType, object foreignKey, object foreignKeyType);
public static string PropertyInUseForeignKey(object property, object entityType, object foreignKeyProperties, object foreignKeyType);
public static string PropertyInUseForeignKey(object? property, object? entityType, object? foreignKeyProperties, object? foreignKeyType);
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
Public Shared Function PropertyInUseForeignKey (property As Object, type As Object, foreignKeyProperties As Object, foreignKeyType As Object) As String
Public Shared Function PropertyInUseForeignKey (property As Object, entityType As Object, foreignKey As Object, foreignKeyType As Object) As String
Public Shared Function PropertyInUseForeignKey (property As Object, entityType As Object, foreignKeyProperties As Object, foreignKeyType As Object) As String

Parametry

property
Object
typeentityType
Object
foreignKeyPropertiesforeignKey
Object
foreignKeyType
Object

Zwraca

Dotyczy