RelationalStrings.IncompatibleTableNoRelationship Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för