CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) 方法

定义

无法从类型“{type}”中删除属性“{property}”,因为它在“{foreignKeyType}”的外键 {foreignKeyProperties} 中使用。 必须先删除或重新定义包含外键的所有外键,然后才能删除属性。

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

返回

适用于