RelationalStrings.IncompatibleViewDerivedRelationship 方法

定义

无法将视图“{view}”用于实体类型“{entityType}”,因为它用于实体类型“{otherEntityType}”,并且其主键之间存在关系,其中“{entityType}”是依赖项,但“{entityType}”具有映射到其他视图的基实体类型。 将“{otherEntityType}”映射到其他视图,或反转“{entityType}”和“{otherEntityType}”之间的关系。

public static string IncompatibleViewDerivedRelationship (object view, object entityType, object otherEntityType);
public static string IncompatibleViewDerivedRelationship (object? view, object? entityType, object? otherEntityType);
static member IncompatibleViewDerivedRelationship : obj * obj * obj -> string
Public Shared Function IncompatibleViewDerivedRelationship (view As Object, entityType As Object, otherEntityType As Object) As String

参数

view
Object
entityType
Object
otherEntityType
Object

返回

适用于