CoreStrings.ForeignKeyWrongType 方法

定义

无法从实体类型“{entityType}”中删除面向“{principalType}”上的键 {keyProperties} 的外键 {foreignKeyProperties},因为它是在实体类型“{otherEntityType}”上定义的。

public static string ForeignKeyWrongType (object foreignKey, object key, object principalType, object otherEntityType, object entityType);
public static string ForeignKeyWrongType (object foreignKeyProperties, object keyProperties, object principalType, object entityType, object otherEntityType);
public static string ForeignKeyWrongType (object? foreignKeyProperties, object? keyProperties, object? principalType, object? entityType, object? otherEntityType);
static member ForeignKeyWrongType : obj * obj * obj * obj * obj -> string
static member ForeignKeyWrongType : obj * obj * obj * obj * obj -> string
Public Shared Function ForeignKeyWrongType (foreignKey As Object, key As Object, principalType As Object, otherEntityType As Object, entityType As Object) As String
Public Shared Function ForeignKeyWrongType (foreignKeyProperties As Object, keyProperties As Object, principalType As Object, entityType As Object, otherEntityType As Object) As String

参数

foreignKeyforeignKeyProperties
Object
keykeyProperties
Object
principalType
Object
otherEntityTypeentityType
Object
entityTypeotherEntityType
Object

返回

适用于