KeylessEntityTypeAttributeConvention Class

Definition

A convention that ignores entity types that have the KeylessAttribute.

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

Remarks

See Model building conventions for more information and examples.

Constructors

KeylessEntityTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of KeylessEntityTypeAttributeConvention.

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, KeylessAttribute, 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