CoreStrings.AmbiguousOwnedNavigation(Object, Object) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Nelze určit vlastníka relace mezi {entityTypeNavigationSpecification} a {otherEntityType}, protože oba typy byly označeny jako vlastněné. Buď ručně nakonfigurujte vlastnictví, nebo ignorujte odpovídající navigace pomocí atributu [NotMapped] nebo pomocí EntityTypeBuilder.Ignore v onModelCreating. Další https://aka.ms/efcore-docs-owned informace a příklady najdete v tématu.
public static string AmbiguousOwnedNavigation(object? entityTypeNavigationSpecification, object? otherEntityType);
public static string AmbiguousOwnedNavigation(object entityType, object otherEntityType);
public static string AmbiguousOwnedNavigation(object entityTypeNavigationSpecification, object otherEntityType);
static member AmbiguousOwnedNavigation : obj * obj -> string
static member AmbiguousOwnedNavigation : obj * obj -> string
Public Shared Function AmbiguousOwnedNavigation (entityTypeNavigationSpecification As Object, otherEntityType As Object) As String
Public Shared Function AmbiguousOwnedNavigation (entityType As Object, otherEntityType As Object) As String
Parametry
- entityTypeNavigationSpecificationentityType
- Object
- otherEntityType
- Object