Share via


SqlCeMigrationSqlGenerator Class

Definition

Provider to convert provider agnostic migration operations into SQL commands that can be run against Microsoft SQL Server Compact Edition.

public class SqlCeMigrationSqlGenerator : System.Data.Entity.Migrations.Sql.SqlServerMigrationSqlGenerator
type SqlCeMigrationSqlGenerator = class
    inherit SqlServerMigrationSqlGenerator
Public Class SqlCeMigrationSqlGenerator
Inherits SqlServerMigrationSqlGenerator
Inheritance

Constructors

SqlCeMigrationSqlGenerator()

Properties

ProviderManifest

Gets or sets the provider manifest.

(Inherited from MigrationSqlGenerator)

Methods

BuildColumnType(ColumnModel)

Generates SQL to specify the data type of a column. This method just generates the actual type, not the SQL to create the column.

(Inherited from SqlServerMigrationSqlGenerator)
BuildStoreTypeUsage(String, PropertyModel)

Builds the store type usage for the specified storeTypeName using the facets from the specified propertyModel.

(Inherited from MigrationSqlGenerator)
CreateConnection()

Creates an empty connection for the current provider. Allows derived providers to use connection other than SqlConnection.

Generate(AddColumnOperation)

Generates SQL for a AddColumnOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(AddForeignKeyOperation)

Generates SQL for a AddForeignKeyOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(AddPrimaryKeyOperation)

Generates SQL for a AddPrimaryKeyOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(AlterColumnOperation)

Generates SQL for a AlterColumnOperation. Generated SQL should be added using the Statement 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.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(CreateIndexOperation)

Generates SQL for a CreateIndexOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(CreateTableOperation)

Generates SQL for a CreateTableOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
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.

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.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(DeleteHistoryOperation)

Generates SQL for a DeleteHistoryOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(DropColumnOperation)

Generates SQL for a DropColumnOperation. Generated SQL should be added using the Statement method.

Generate(DropForeignKeyOperation)

Generates SQL for a DropForeignKeyOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(DropIndexOperation)

Generates SQL for a DropIndexOperation. Generated SQL should be added using the Statement method.

Generate(DropPrimaryKeyOperation)

Generates SQL for a DropPrimaryKeyOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(DropTableOperation)

Generates SQL for a DropTableOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(IEnumerable<MigrationOperation>, String)

Converts a set of migration operations into Microsoft SQL Server specific SQL.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(InsertHistoryOperation)

Generates SQL for a InsertHistoryOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(MoveTableOperation)

Generates SQL for a MoveTableOperation. Generated SQL should be added using the Statement 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.

(Inherited from SqlServerMigrationSqlGenerator)
Generate(RenameColumnOperation)

Generates SQL for a RenameColumnOperation. Generated SQL should be added using the Statement method.

Generate(RenameTableOperation)

Generates SQL for a RenameTableOperation. Generated SQL should be added using the Statement method.

Generate(SqlOperation)

Generates SQL for a SqlOperation. Generated SQL should be added using the Statement method.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
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.

(Inherited from SqlServerMigrationSqlGenerator)
GenerateCreateSchema(String)

Generates SQL to create a database schema. Generated SQL should be added using the Statement method.

GenerateMakeSystemTable(CreateTableOperation)

Generates SQL to mark a table as a system table. Generated SQL should be added using the Statement method.

GenerateProcedureBody(ICollection<DbModificationCommandTree>, String, String)

Generates the SQL body for a stored procedure.

(Inherited from MigrationSqlGenerator)
IsPermissionDeniedError(Exception)

Determines if a provider specific exception corresponds to a database-level permission denied error.

(Inherited from MigrationSqlGenerator)
Name(String)

Generates a quoted name. The supplied name may or may not contain the schema.

Quote(String)

Quotes an identifier for SQL Server.

(Inherited from SqlServerMigrationSqlGenerator)
Statement(IndentedTextWriter)

Adds a new Statement to be executed against the database.

(Inherited from SqlServerMigrationSqlGenerator)
Statement(String, Boolean)

Adds a new Statement to be executed against the database.

(Inherited from SqlServerMigrationSqlGenerator)

Applies to