SqlServerEntityTypeExtensions Class

Definition

Entity type extension methods for SQL Server-specific metadata.

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

Remarks

See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.

Methods

GetHistoryTableName(IReadOnlyEntityType)

Returns a value representing the name of the history table associated with the entity mapped to a temporal table.

GetHistoryTableNameConfigurationSource(IConventionEntityType)

Gets the configuration source for the temporal history table name setting.

GetHistoryTableSchema(IReadOnlyEntityType)

Returns a value representing the schema of the history table associated with the entity mapped to a temporal table.

GetHistoryTableSchemaConfigurationSource(IConventionEntityType)

Gets the configuration source for the temporal history table schema setting.

GetIsMemoryOptimizedConfigurationSource(IConventionEntityType)

Gets the configuration source for the memory-optimized setting.

GetIsTemporalConfigurationSource(IConventionEntityType)

Gets the configuration source for the temporal table setting.

GetPeriodEndPropertyName(IReadOnlyEntityType)

Returns a value representing the name of the period end property of the entity mapped to a temporal table.

GetPeriodEndPropertyNameConfigurationSource(IConventionEntityType)

Gets the configuration source for the temporal table period end property name setting.

GetPeriodStartPropertyName(IReadOnlyEntityType)

Returns a value representing the name of the period start property of the entity mapped to a temporal table.

GetPeriodStartPropertyNameConfigurationSource(IConventionEntityType)

Gets the configuration source for the temporal table period start property name setting.

GetUseSqlOutputClauseConfigurationSource(IConventionEntityType)

Gets the configuration source for whether to use the SQL OUTPUT clause when saving changes to the table.

IsMemoryOptimized(IEntityType)

Returns a value indicating whether the entity type is mapped to a memory-optimized table.

IsMemoryOptimized(IReadOnlyEntityType)

Returns a value indicating whether the entity type is mapped to a memory-optimized table.

IsSqlOutputClauseUsed(IReadOnlyEntityType)

Returns a value indicating whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

IsSqlOutputClauseUsed(IReadOnlyEntityType, StoreObjectIdentifier)

Returns a value indicating whether to use the SQL OUTPUT clause when saving changes to the specified table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

IsTemporal(IReadOnlyEntityType)

Returns a value indicating whether the entity type is mapped to a temporal table.

SetHistoryTableName(IConventionEntityType, String, Boolean)

Sets a value representing the name of the history table associated with the entity mapped to a temporal table.

SetHistoryTableName(IMutableEntityType, String)

Sets a value representing the name of the history table associated with the entity mapped to a temporal table.

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

SetHistoryTableSchema(IMutableEntityType, String)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

SetIsMemoryOptimized(IConventionEntityType, Nullable<Boolean>, Boolean)

Sets a value indicating whether the entity type is mapped to a memory-optimized table.

SetIsMemoryOptimized(IMutableEntityType, Boolean)

Sets a value indicating whether the entity type is mapped to a memory-optimized table.

SetIsTemporal(IConventionEntityType, Nullable<Boolean>, Boolean)

Sets a value indicating whether the entity type is mapped to a temporal table.

SetIsTemporal(IMutableEntityType, Boolean)

Sets a value indicating whether the entity type is mapped to a temporal table.

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Sets a value representing the name of the period end property of the entity mapped to a temporal table.

SetPeriodEndPropertyName(IMutableEntityType, String)

Sets a value representing the name of the period end property of the entity mapped to a temporal table.

SetPeriodStartPropertyName(IConventionEntityType, String, Boolean)

Sets a value representing the name of the period start property of the entity mapped to a temporal table.

SetPeriodStartPropertyName(IMutableEntityType, String)

Sets a value representing the name of the period start property of the entity mapped to a temporal table.

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, Boolean)

Sets a value indicating whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)

Sets a value indicating whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>)

Sets a value indicating whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)

Sets a value indicating whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

Applies to