Dela via


RelationalStrings.IncompatibleTableNoRelationship Method

Definition

Cannot use table '{table}' for entity type '{entityType}' since it is being used for entity type '{otherEntityType}' and potentially other entity types, but there is no linking relationship. Add a foreign key to '{entityType}' on the primary key properties and pointing to the primary key on another entity type mapped to '{table}'.

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

Parameters

table
Object
entityType
Object
otherEntityType
Object

Returns

Applies to