Поделиться через


CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) Метод

Определение

Свойство "{property}" не может быть удалено из типа "{type}", так как оно используется во внешнем ключе {foreignKeyProperties} в {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);
public static string PropertyInUseForeignKey (object? property, object? type, 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, 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
Public Shared Function PropertyInUseForeignKey (property As Object, type As Object, foreignKeyProperties As Object, foreignKeyType As Object) As String

Параметры

property
Object
entityTypetype
Object
foreignKeyforeignKeyProperties
Object
foreignKeyType
Object

Возвращаемое значение

Применяется к