CoreStrings.DuplicateForeignKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
外鍵 {foreignKeyProperties} 無法新增至實體類型 '{entityType}',因為相同屬性上的外鍵已存在於實體類型 '{duplicateEntityType}' 上,也會以 '{principalType} 上的索引鍵 {keyProperties} 為目標。
public static string DuplicateForeignKey (object foreignKey, object entityType, object duplicateEntityType, object key, object principalType);
public static string DuplicateForeignKey (object foreignKeyProperties, object entityType, object duplicateEntityType, object keyProperties, object principalType);
public static string DuplicateForeignKey (object? foreignKeyProperties, object? entityType, object? duplicateEntityType, object? keyProperties, object? principalType);
static member DuplicateForeignKey : obj * obj * obj * obj * obj -> string
static member DuplicateForeignKey : obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateForeignKey (foreignKey As Object, entityType As Object, duplicateEntityType As Object, key As Object, principalType As Object) As String
Public Shared Function DuplicateForeignKey (foreignKeyProperties As Object, entityType As Object, duplicateEntityType As Object, keyProperties As Object, principalType As Object) As String
參數
- foreignKeyforeignKeyProperties
- Object
- entityType
- Object
- duplicateEntityType
- Object
- keykeyProperties
- Object
- principalType
- Object