RelationalEntityTypeBuilderExtensions Class

Definition

Relational database specific extension methods for EntityTypeBuilder.

public static class RelationalEntityTypeBuilderExtensions
type RelationalEntityTypeBuilderExtensions = class
Public Module RelationalEntityTypeBuilderExtensions
Inheritance
RelationalEntityTypeBuilderExtensions

Methods

CanExcludeTableFromMigrations(IConventionEntityTypeBuilder, Nullable<Boolean>, Boolean)

Returns a value indicating whether the table that this entity type is mapped to can be excluded from migrations using the specified configuration source.

CanSetCheckConstraint(IConventionEntityTypeBuilder, String, String, Boolean)

Returns a value indicating whether the check constraint can be configured.

CanSetComment(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether a comment can be set for this entity type using the specified configuration source.

CanSetFunction(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the view or table name can be set for this entity type using the specified configuration source.

CanSetSchema(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the schema of the table name can be set for this entity type using the specified configuration source.

CanSetSqlQuery(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the query SQL string can be set for this entity type using the specified configuration source.

CanSetTable(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the table name can be set for this entity type using the specified configuration source.

CanSetView(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the view name can be set for this entity type using the specified configuration source.

CanSetViewSchema(IConventionEntityTypeBuilder, String, Boolean)

Returns a value indicating whether the schema of the view can be set for this entity type using the specified configuration source.

ExcludeTableFromMigrations(IConventionEntityTypeBuilder, Nullable<Boolean>, Boolean)

Mark the table that this entity type is mapped to as excluded from migrations.

HasCheckConstraint(EntityTypeBuilder, String, String)

Configures a database check constraint when targeting a relational database.

HasCheckConstraint(IConventionEntityTypeBuilder, String, String, Boolean)

Configures a database check constraint when targeting a relational database.

HasCheckConstraint<TEntity>(EntityTypeBuilder<TEntity>, String, String)

Configures a database check constraint when targeting a relational database.

HasComment(EntityTypeBuilder, String)

Configures a comment to be applied to the table

HasComment(IConventionEntityTypeBuilder, String, Boolean)

Configures a comment to be applied to the table

HasComment<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures a comment to be applied to the table

HasDiscriminator(EntityTypeBuilder)

Configures the discriminator column used to identify which entity type each row in a table represents when an inheritance hierarchy is mapped to a single table in a relational database.

HasDiscriminator(EntityTypeBuilder, String, Type)

Configures the discriminator column used to identify which entity type each row in a table represents when an inheritance hierarchy is mapped to a single table in a relational database.

HasDiscriminator<TDiscriminator>(EntityTypeBuilder, String)

Configures the discriminator column used to identify which entity type each row in a table represents when an inheritance hierarchy is mapped to a single table in a relational database.

HasDiscriminator<TEntity,TDiscriminator>(EntityTypeBuilder<TEntity>, Expression<Func<TEntity,TDiscriminator>>)

Configures the discriminator column used to identify which entity type each row in a table represents when an inheritance hierarchy is mapped to a single table in a relational database.

ToFunction(EntityTypeBuilder, String)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction(EntityTypeBuilder, String, Action<TableValuedFunctionBuilder>)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction(IConventionEntityTypeBuilder, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToFunction(OwnedNavigationBuilder, String)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction(OwnedNavigationBuilder, String, Action<TableValuedFunctionBuilder>)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String, Action<TableValuedFunctionBuilder>)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures the function that the entity type maps to when targeting a relational database.

ToFunction<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableValuedFunctionBuilder>)

Configures the function that the entity type maps to when targeting a relational database.

ToSchema(IConventionEntityTypeBuilder, String, Boolean)

Configures the schema of the table that the entity type maps to when targeting a relational database.

ToSqlQuery(IConventionEntityTypeBuilder, String, Boolean)

Configures a SQL string used to provide data for the entity type.

ToSqlQuery<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures a SQL string used to provide data for the entity type.

ToTable(EntityTypeBuilder, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(EntityTypeBuilder, String, Action<TableBuilder>)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(EntityTypeBuilder, String, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(EntityTypeBuilder, String, String, Action<TableBuilder>)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(IConventionEntityTypeBuilder, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(IConventionEntityTypeBuilder, String, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(OwnedNavigationBuilder, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(OwnedNavigationBuilder, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(OwnedNavigationBuilder, String, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable(OwnedNavigationBuilder, String, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity,TRelatedEntity>(OwnedNavigationBuilder<TEntity,TRelatedEntity>, String, String, Boolean)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder<TEntity>>)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder>)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder<TEntity>>)

Configures the table that the entity type maps to when targeting a relational database.

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder>)

Configures the table that the entity type maps to when targeting a relational database.

ToView(EntityTypeBuilder, String)

Configures the view that the entity type maps to when targeting a relational database.

ToView(EntityTypeBuilder, String, String)

Configures the view that the entity type maps to when targeting a relational database.

ToView(IConventionEntityTypeBuilder, String, Boolean)

Configures the view that the entity type maps to when targeting a relational database.

ToView(IConventionEntityTypeBuilder, String, String, Boolean)

Configures the view that the entity type maps to when targeting a relational database.

ToView<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures the view that the entity type maps to when targeting a relational database.

ToView<TEntity>(EntityTypeBuilder<TEntity>, String, String)

Configures the view that the entity type maps to when targeting a relational database.

ToViewSchema(IConventionEntityTypeBuilder, String, Boolean)

Configures the schema of the view that the entity type maps to when targeting a relational database.

Applies to