CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性 '{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