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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework