CoreStrings.MissingInverseManyToManyNavigation(Object, Object) Method
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.
Unable to set up a many-to-many relationship between the entity types '{principalEntityType}' and '{declaringEntityType}' because one of the navigations was not specified. Provide a navigation in the 'HasMany' call in 'OnModelCreating'. Consider adding a private property for this.
public static string MissingInverseManyToManyNavigation (object principalEntityType, object declaringEntityType);
public static string MissingInverseManyToManyNavigation (object? principalEntityType, object? declaringEntityType);
static member MissingInverseManyToManyNavigation : obj * obj -> string
Public Shared Function MissingInverseManyToManyNavigation (principalEntityType As Object, declaringEntityType As Object) As String
- principalEntityType
- Object
- declaringEntityType
- Object
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: