Freigeben über


CoreStrings.MissingInverseManyToManyNavigation(Object, Object) Methode

Definition

Es kann keine Many-to-Many-Beziehung zwischen den Entitätstypen '{principalEntityType}' und '{declaringEntityType}' eingerichtet werden, da eine der Navigationsvorgänge nicht angegeben wurde. Stellen Sie eine Navigation im Aufruf "HasMany" in "OnModelCreating" bereit. Erwägen Sie, dafür eine private Eigenschaft hinzuzufügen.

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

Parameter

principalEntityType
Object
declaringEntityType
Object

Gibt zurück

Gilt für: