Share via


RelationalTableAttributeConvention Class

Definition

A convention that configures the table name and schema for entity types based on the applied TableAttribute.

public class RelationalTableAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.TableAttribute>
public class RelationalTableAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.TableAttribute>
type RelationalTableAttributeConvention = class
    inherit EntityTypeAttributeConventionBase<TableAttribute>
type RelationalTableAttributeConvention = class
    inherit TypeAttributeConventionBase<TableAttribute>
Public Class RelationalTableAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of TableAttribute)
Public Class RelationalTableAttributeConvention
Inherits TypeAttributeConventionBase(Of TableAttribute)
Inheritance
RelationalTableAttributeConvention
Inheritance
RelationalTableAttributeConvention

Remarks

See Model building conventions for more information and examples.

Constructors

RelationalTableAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of RelationalTableAttributeConvention.

Properties

Dependencies

Dependencies for this service.

(Inherited from EntityTypeAttributeConventionBase<TAttribute>)
Dependencies

Dependencies for this service.

(Inherited from TypeAttributeConventionBase<TAttribute>)
RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Called after a complex property is added to a type-like object.

(Inherited from TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

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

(Inherited from TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

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

Called after an entity type is added to the model.

(Inherited from TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TableAttribute, 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>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

(Inherited from TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

Tries to replace the complex type with an entity type.

(Inherited from TypeAttributeConventionBase<TAttribute>)

Applies to