MigrationSqlGenerator MigrationSqlGenerator MigrationSqlGenerator Class

Definition

Common base class for providers that convert provider agnostic migration operations into database provider specific SQL commands.

public abstract class MigrationSqlGenerator
type MigrationSqlGenerator = class
Public MustInherit Class MigrationSqlGenerator
Inheritance
MigrationSqlGeneratorMigrationSqlGeneratorMigrationSqlGenerator
Derived

Constructors

MigrationSqlGenerator() MigrationSqlGenerator() MigrationSqlGenerator()

Properties

ProviderManifest ProviderManifest ProviderManifest

Gets or sets the provider manifest.

Methods

BuildStoreTypeUsage(String, PropertyModel) BuildStoreTypeUsage(String, PropertyModel) BuildStoreTypeUsage(String, PropertyModel)

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

Generate(IEnumerable<MigrationOperation>, String) Generate(IEnumerable<MigrationOperation>, String) Generate(IEnumerable<MigrationOperation>, String)

Converts a set of migration operations into database provider specific SQL.

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

Generates the SQL body for a stored procedure.

IsPermissionDeniedError(Exception) IsPermissionDeniedError(Exception) IsPermissionDeniedError(Exception)

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

Applies to