Share via


CoreStrings.InconsistentOwnership(Object, Object) Method

Definition

Caution

This API is now deprecated.

The entity type '{ownedEntityType}' is configured as owned, but the entity type '{nonOwnedEntityType}' is not. Configure all entity types with defining navigations sharing a CLR type as owned in 'OnModelCreating'.

public static string InconsistentOwnership (object ownedEntityType, object nonOwnedEntityType);
[System.Obsolete]
public static string InconsistentOwnership (object? ownedEntityType, object? nonOwnedEntityType);
static member InconsistentOwnership : obj * obj -> string
[<System.Obsolete>]
static member InconsistentOwnership : obj * obj -> string
Public Shared Function InconsistentOwnership (ownedEntityType As Object, nonOwnedEntityType As Object) As String

Parameters

ownedEntityType
Object
nonOwnedEntityType
Object

Returns

Attributes

Applies to