Share via


EntityTableSqlGenerator Class

 

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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Tables
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)

Inheritance Hierarchy

System.Object
  System.Data.Entity.Migrations.Sql.MigrationSqlGenerator
    System.Data.Entity.SqlServer.SqlServerMigrationSqlGenerator
      Microsoft.WindowsAzure.Mobile.Service.Tables.EntityTableSqlGenerator

Syntax

public class EntityTableSqlGenerator : SqlServerMigrationSqlGenerator
public ref class EntityTableSqlGenerator : SqlServerMigrationSqlGenerator
type EntityTableSqlGenerator = 
    class
        inherit SqlServerMigrationSqlGenerator
    end
Public Class EntityTableSqlGenerator
    Inherits SqlServerMigrationSqlGenerator

Constructors

Name Description
System_CAPS_pubmethod EntityTableSqlGenerator()

Properties

Name Description
System_CAPS_protproperty GuidColumnDefault

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protproperty ProviderManifest

(Inherited from MigrationSqlGenerator.)

Methods

Name Description
System_CAPS_protmethod BuildColumnType(ColumnModel)

(Overrides SqlServerMigrationSqlGenerator.BuildColumnType(ColumnModel).)

System_CAPS_protmethod BuildStoreTypeUsage(String, PropertyModel)

(Inherited from MigrationSqlGenerator.)

System_CAPS_protmethod CreateConnection()

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod DropDefaultConstraint(String, String, IndentedTextWriter)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod Generate(AddColumnOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(AddForeignKeyOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(AddPrimaryKeyOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(AlterColumnOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(AlterProcedureOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(AlterTableOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(Boolean)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(Byte[])

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(ColumnModel, IndentedTextWriter)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(CreateIndexOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(CreateProcedureOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(CreateTableOperation)

(Overrides SqlServerMigrationSqlGenerator.Generate(CreateTableOperation).)

System_CAPS_protmethod Generate(DateTime)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DateTimeOffset)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DbGeography)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DbGeometry)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropColumnOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropForeignKeyOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropIndexOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropPrimaryKeyOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropProcedureOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(DropTableOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(Guid)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(HistoryOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_pubmethod Generate(IEnumerable<MigrationOperation>, String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(MigrationOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(MoveProcedureOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(MoveTableOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(Object)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(RenameColumnOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(RenameIndexOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(RenameProcedureOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(RenameTableOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(SqlOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(TimeSpan)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Generate(UpdateDatabaseOperation)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod GenerateCreateSchema(String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod GenerateMakeSystemTable(CreateTableOperation, IndentedTextWriter)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_pubmethod GenerateProcedureBody(ICollection<DbModificationCommandTree>, String, String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod GetColumnName(String, String)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetTableColumnType(ColumnModel)

System_CAPS_protmethod GetTrigger(String, String, String)

System_CAPS_protmethod GetTriggerName(String)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod Name(String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Quote(String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Statement(IndentedTextWriter, String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_protmethod Statement(String, Boolean, String)

(Inherited from SqlServerMigrationSqlGenerator.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod UpdateTableColumn(ColumnModel, TableColumnType)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Mobile.Service.Tables Namespace

Return to top