語言

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

定義

屬性 '{property}' 無法從類型 '{type}' 中移除,因為它被用於 '{foreignKeyType}'' 的外鍵 {foreignKeyType}' 中。 所有包含外鍵的外鍵必須先移除或重新定義,才能移除該屬性。

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

參數

property
Object
typeentityType
Object
foreignKeyPropertiesforeignKey
Object
foreignKeyType
Object

傳回

適用於