CoreStrings.PrincipalOwnedType(Object, 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.
The relationship from '{referencingEntityTypeOrNavigation}' to '{referencedEntityTypeOrNavigation}' is not supported because the owned entity type '{ownedType}' cannot be on the principal side of a non-ownership relationship. Remove the relationship or configure the foreign key to be on '{ownedType}'.
public static string PrincipalOwnedType (object referencingEntityTypeOrNavigation, object referencedEntityTypeOrNavigation, object ownedType);
public static string PrincipalOwnedType (object? referencingEntityTypeOrNavigation, object? referencedEntityTypeOrNavigation, object? ownedType);
static member PrincipalOwnedType : obj * obj * obj -> string
Public Shared Function PrincipalOwnedType (referencingEntityTypeOrNavigation As Object, referencedEntityTypeOrNavigation As Object, ownedType As Object) As String
Parameters
- referencingEntityTypeOrNavigation
- Object
- referencedEntityTypeOrNavigation
- Object
- ownedType
- 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