ConventionSet ConventionSet Class

Base implementation for a set of conventions used to build a model. This base implementation is an empty set of conventions.

Syntax

Declaration

public class ConventionSetPublic Class ConventionSet

Inheritance Hierarchy

  • System.Object
    System.Object
  • ConventionSet
    ConventionSet

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Conventions to run when the base entity type is set or removed.

Conventions to run when an entity type is added to the model.

Conventions to run when an annotation is set or removed on an entity type.

Conventions to run when an entity type is ignored.

Conventions to run when a property is ignored.

Conventions to run when a foreign key is added.

Conventions to run when a foreign key is removed.

Conventions to run when the uniqueness of a foreign key is changed.

Conventions to run when an index is added.

Conventions to run when an index is added.

Conventions to run when the uniqueness of an index is changed.

Conventions to run when a key is added.

Conventions to run when a key is removed.

Conventions to run when model building is completed.

Conventions to run to setup the initial model.

Conventions to run when a navigation property is added.

Conventions to run when a navigation property is removed.

Conventions to run when a primary key is configured.

Conventions to run when the principal end of a relationship is configured.

Conventions to run when a property is added.

Conventions to run when the field of a property is changed.

Conventions to run when the nullability of a property is changed.

Properties

  • BaseEntityTypeSetConventions
    BaseEntityTypeSetConventions

    Conventions to run when the base entity type is set or removed.

    public virtual IList<IBaseTypeConvention> BaseEntityTypeSetConventions { get; }Public Overridable ReadOnly Property BaseEntityTypeSetConventions As IList(Of IBaseTypeConvention)

    Property Value

  • EntityTypeAddedConventions
    EntityTypeAddedConventions

    Conventions to run when an entity type is added to the model.

    public virtual IList<IEntityTypeConvention> EntityTypeAddedConventions { get; }Public Overridable ReadOnly Property EntityTypeAddedConventions As IList(Of IEntityTypeConvention)

    Property Value

  • EntityTypeAnnotationSetConventions
    EntityTypeAnnotationSetConventions

    Conventions to run when an annotation is set or removed on an entity type.

    public virtual IList<IEntityTypeAnnotationSetConvention> EntityTypeAnnotationSetConventions { get; }Public Overridable ReadOnly Property EntityTypeAnnotationSetConventions As IList(Of IEntityTypeAnnotationSetConvention)

    Property Value

  • EntityTypeIgnoredConventions
    EntityTypeIgnoredConventions

    Conventions to run when an entity type is ignored.

    public virtual IList<IEntityTypeIgnoredConvention> EntityTypeIgnoredConventions { get; }Public Overridable ReadOnly Property EntityTypeIgnoredConventions As IList(Of IEntityTypeIgnoredConvention)

    Property Value

  • EntityTypeMemberIgnoredConventions
    EntityTypeMemberIgnoredConventions

    Conventions to run when a property is ignored.

    public virtual IList<IEntityTypeMemberIgnoredConvention> EntityTypeMemberIgnoredConventions { get; }Public Overridable ReadOnly Property EntityTypeMemberIgnoredConventions As IList(Of IEntityTypeMemberIgnoredConvention)

    Property Value

  • ForeignKeyAddedConventions
    ForeignKeyAddedConventions

    Conventions to run when a foreign key is added.

    public virtual IList<IForeignKeyConvention> ForeignKeyAddedConventions { get; }Public Overridable ReadOnly Property ForeignKeyAddedConventions As IList(Of IForeignKeyConvention)

    Property Value

  • ForeignKeyRemovedConventions
    ForeignKeyRemovedConventions

    Conventions to run when a foreign key is removed.

    public virtual IList<IForeignKeyRemovedConvention> ForeignKeyRemovedConventions { get; }Public Overridable ReadOnly Property ForeignKeyRemovedConventions As IList(Of IForeignKeyRemovedConvention)

    Property Value

  • ForeignKeyUniquenessConventions
    ForeignKeyUniquenessConventions

    Conventions to run when the uniqueness of a foreign key is changed.

    public virtual IList<IForeignKeyUniquenessConvention> ForeignKeyUniquenessConventions { get; }Public Overridable ReadOnly Property ForeignKeyUniquenessConventions As IList(Of IForeignKeyUniquenessConvention)

    Property Value

  • IndexAddedConventions
    IndexAddedConventions

    Conventions to run when an index is added.

    public virtual IList<IIndexConvention> IndexAddedConventions { get; }Public Overridable ReadOnly Property IndexAddedConventions As IList(Of IIndexConvention)

    Property Value

  • IndexRemovedConventions
    IndexRemovedConventions

    Conventions to run when an index is added.

    public virtual IList<IIndexRemovedConvention> IndexRemovedConventions { get; }Public Overridable ReadOnly Property IndexRemovedConventions As IList(Of IIndexRemovedConvention)

    Property Value

  • IndexUniquenessConventions
    IndexUniquenessConventions

    Conventions to run when the uniqueness of an index is changed.

    public virtual IList<IIndexUniquenessConvention> IndexUniquenessConventions { get; }Public Overridable ReadOnly Property IndexUniquenessConventions As IList(Of IIndexUniquenessConvention)

    Property Value

  • KeyAddedConventions
    KeyAddedConventions

    Conventions to run when a key is added.

    public virtual IList<IKeyConvention> KeyAddedConventions { get; }Public Overridable ReadOnly Property KeyAddedConventions As IList(Of IKeyConvention)

    Property Value

  • KeyRemovedConventions
    KeyRemovedConventions

    Conventions to run when a key is removed.

    public virtual IList<IKeyRemovedConvention> KeyRemovedConventions { get; }Public Overridable ReadOnly Property KeyRemovedConventions As IList(Of IKeyRemovedConvention)

    Property Value

  • ModelBuiltConventions
    ModelBuiltConventions

    Conventions to run when model building is completed.

    public virtual IList<IModelConvention> ModelBuiltConventions { get; }Public Overridable ReadOnly Property ModelBuiltConventions As IList(Of IModelConvention)

    Property Value

  • ModelInitializedConventions
    ModelInitializedConventions

    Conventions to run to setup the initial model.

    public virtual IList<IModelConvention> ModelInitializedConventions { get; }Public Overridable ReadOnly Property ModelInitializedConventions As IList(Of IModelConvention)

    Property Value

  • NavigationAddedConventions
    NavigationAddedConventions

    Conventions to run when a navigation property is added.

    public virtual IList<INavigationConvention> NavigationAddedConventions { get; }Public Overridable ReadOnly Property NavigationAddedConventions As IList(Of INavigationConvention)

    Property Value

  • NavigationRemovedConventions
    NavigationRemovedConventions

    Conventions to run when a navigation property is removed.

    public virtual IList<INavigationRemovedConvention> NavigationRemovedConventions { get; }Public Overridable ReadOnly Property NavigationRemovedConventions As IList(Of INavigationRemovedConvention)

    Property Value

  • PrimaryKeySetConventions
    PrimaryKeySetConventions

    Conventions to run when a primary key is configured.

    public virtual IList<IPrimaryKeyConvention> PrimaryKeySetConventions { get; }Public Overridable ReadOnly Property PrimaryKeySetConventions As IList(Of IPrimaryKeyConvention)

    Property Value

  • PrincipalEndSetConventions
    PrincipalEndSetConventions

    Conventions to run when the principal end of a relationship is configured.

    public virtual IList<IPrincipalEndConvention> PrincipalEndSetConventions { get; }Public Overridable ReadOnly Property PrincipalEndSetConventions As IList(Of IPrincipalEndConvention)

    Property Value

  • PropertyAddedConventions
    PropertyAddedConventions

    Conventions to run when a property is added.

    public virtual IList<IPropertyConvention> PropertyAddedConventions { get; }Public Overridable ReadOnly Property PropertyAddedConventions As IList(Of IPropertyConvention)

    Property Value

  • PropertyFieldChangedConventions
    PropertyFieldChangedConventions

    Conventions to run when the field of a property is changed.

    public virtual IList<IPropertyFieldChangedConvention> PropertyFieldChangedConventions { get; }Public Overridable ReadOnly Property PropertyFieldChangedConventions As IList(Of IPropertyFieldChangedConvention)

    Property Value

  • PropertyNullableChangedConventions
    PropertyNullableChangedConventions

    Conventions to run when the nullability of a property is changed.

    public virtual IList<IPropertyNullableConvention> PropertyNullableChangedConventions { get; }Public Overridable ReadOnly Property PropertyNullableChangedConventions As IList(Of IPropertyNullableConvention)

    Property Value

Details

Assembly

Microsoft.EntityFrameworkCore.dll