Share via


RelationalStrings.IncompatibleViewDerivedRelationship Method

Definition

Cannot use view '{view}' for entity type '{entityType}' since it is being used for entity type '{otherEntityType}' and there is a relationship between their primary keys in which '{entityType}' is the dependent, but '{entityType}' has a base entity type mapped to a different view. Either map '{otherEntityType}' to a different view, or invert the relationship between '{entityType}' and '{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

Parameters

view
Object
entityType
Object
otherEntityType
Object

Returns

Applies to