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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for