CoreStrings.MissingInverseManyToManyNavigation(Object, Object) 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.
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
Parameters
- principalEntityType
- Object
- declaringEntityType
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework