Dela via


CoreStrings.PrincipalOwnedType(Object, Object, Object) Method

Definition

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