Udostępnij za pośrednictwem


EntityTableSqlGenerator Class

Definition

Updates the SQL DB definition to take into account columns marked by TableColumnType. The EntityTableSqlGenerator can be enabled either by using the scaffolded DbContext or by deriving from the EntityContext base class.

public class EntityTableSqlGenerator : System.Data.Entity.SqlServer.SqlServerMigrationSqlGenerator
type EntityTableSqlGenerator = class
    inherit SqlServerMigrationSqlGenerator
Public Class EntityTableSqlGenerator
Inherits SqlServerMigrationSqlGenerator
Inheritance
EntityTableSqlGenerator

Constructors

EntityTableSqlGenerator()

Methods

BuildColumnType(ColumnModel)
Generate(CreateTableOperation)
GetColumnName(String, String)
GetTableColumnType(ColumnModel)
GetTrigger(String, String, String)
GetTriggerName(String)
UpdateTableColumn(ColumnModel, TableColumnType)

Applies to