CoreStrings.InconsistentOwnership(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.
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
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