SqlServerMigrationSqlGenerator Methods

Entity Framework 5.0

The SqlServerMigrationSqlGenerator type exposes the following members.

  Name Description
Protected method BuildColumnType Generates SQL to specify the data type of a column. This method just generates the actual type, not the SQL to create the column.
Protected method CreateConnection Creates an empty connection for the current provider. Allows derived providers to use connection other than SqlConnection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method Generate(Boolean) Generates SQL to specify a constant bool default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(Byte[]) Generates SQL to specify a constant byte[] default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(DbGeography) Generates SQL to specify a constant geogrpahy default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(DbGeometry) Generates SQL to specify a constant geometry default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(DateTime) Generates SQL to specify a constant DateTime default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(DateTimeOffset) Generates SQL to specify a constant DateTimeOffset default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(Guid) Generates SQL to specify a constant Guid default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(Object) Generates SQL to specify a constant default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(String) Generates SQL to specify a constant string default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(TimeSpan) Generates SQL to specify a constant TimeSpan default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Protected method Generate(AddColumnOperation) Generates SQL for a AddColumnOperation. Generated SQL should be added using the Statement method.
Protected method Generate(AddForeignKeyOperation) Generates SQL for a AddForeignKeyOperation. Generated SQL should be added using the Statement method.
Protected method Generate(AddPrimaryKeyOperation) Generates SQL for a AddPrimaryKeyOperation. Generated SQL should be added using the Statement method.
Protected method Generate(AlterColumnOperation) Generates SQL for a AlterColumnOperation. Generated SQL should be added using the Statement method.
Protected method Generate(CreateIndexOperation) Generates SQL for a CreateIndexOperation. Generated SQL should be added using the Statement method.
Protected method Generate(CreateTableOperation) Generates SQL for a CreateTableOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DeleteHistoryOperation) Generates SQL for a DeleteHistoryOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DropColumnOperation) Generates SQL for a DropColumnOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DropForeignKeyOperation) Generates SQL for a DropForeignKeyOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DropIndexOperation) Generates SQL for a DropIndexOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DropPrimaryKeyOperation) Generates SQL for a DropPrimaryKeyOperation. Generated SQL should be added using the Statement method.
Protected method Generate(DropTableOperation) Generates SQL for a DropTableOperation. Generated SQL should be added using the Statement method.
Protected method Generate(InsertHistoryOperation) Generates SQL for a InsertHistoryOperation. Generated SQL should be added using the Statement method.
Protected method Generate(MoveTableOperation) Generates SQL for a MoveTableOperation. Generated SQL should be added using the Statement method.
Protected method Generate(RenameColumnOperation) Generates SQL for a RenameColumnOperation. Generated SQL should be added using the Statement method.
Protected method Generate(RenameTableOperation) Generates SQL for a RenameTableOperation. Generated SQL should be added using the Statement method.
Protected method Generate(SqlOperation) Generates SQL for a SqlOperation. Generated SQL should be added using the Statement method.
Public method Generate(IEnumerable<MigrationOperation>, String) Converts a set of migration operations into Microsoft SQL Server specific SQL. (Overrides MigrationSqlGenerator.Generate(IEnumerable<MigrationOperation>, String).)
Protected method GenerateCreateSchema Generates SQL to create a database schema. Generated SQL should be added using the Statement method.
Protected method GenerateMakeSystemTable Generates SQL to mark a table as a system table. Generated SQL should be added using the Statement method.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method Name Generates a quoted name. The supplied name may or may not contain the schema.
Protected method Quote Quotes an identifier for SQL Server.
Protected method Statement(IndentedTextWriter) Adds a new Statement to be executed against the database.
Protected method Statement(String, Boolean) Adds a new Statement to be executed against the database.
Public method ToString (Inherited from Object.)
Protected method Static member Writer Gets a new IndentedTextWriter that can be used to build SQL. This is just a helper method to create a writer. Writing to the writer will not cause SQL to be registered for execution. You must pass the generated SQL to the Statement method.
Top
Show: