OwnedTypesConvention Class
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
Entity types with defining navigations have been replaced by shared-type entity types
A convention that configures owned entity types with defining navigation as owned entity types without defining navigation if there's only one navigation of this type.
public class OwnedTypesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public class OwnedTypesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention
type OwnedTypesConvention = class
interface IEntityTypeRemovedConvention
interface IConvention
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
type OwnedTypesConvention = class
interface IEntityTypeRemovedConvention
interface IConvention
Public Class OwnedTypesConvention
Implements IEntityTypeRemovedConvention
- Inheritance
-
OwnedTypesConvention
- Attributes
- Implements
Remarks
See Model building conventions for more information.
Constructors
OwnedTypesConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of OwnedTypesConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>) |
Called after an entity type is removed from the model. |
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor