共用方式為


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

傳回

適用於