CoreStrings.DuplicateForeignKey 方法

定义

无法将外键 {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

返回

适用于