OwnedEntityTypeAttributeConvention Class

Definition

A convention that configures the entity types that have the OwnedAttribute as owned.

public class OwnedEntityTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>
type OwnedEntityTypeAttributeConvention = class
    inherit EntityTypeAttributeConventionBase<OwnedAttribute>
Public Class OwnedEntityTypeAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of OwnedAttribute)
Inheritance
OwnedEntityTypeAttributeConvention

Remarks

See Model building conventions for more information and examples.

Constructors

OwnedEntityTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of OwnedEntityTypeAttributeConvention.

Properties

Dependencies

Dependencies for this service.

(Inherited from EntityTypeAttributeConventionBase<TAttribute>)

Methods

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

(Inherited from EntityTypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, OwnedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model if it has an attribute.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model if it has an attribute.

(Inherited from EntityTypeAttributeConventionBase<TAttribute>)

Applies to