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
MigrationSqlGenerator
Derived

Constructors

MigrationSqlGenerator()

Properties

ProviderManifest

Gets or sets the provider manifest.

Methods

BuildStoreTypeUsage(String, PropertyModel)

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

Generate(IEnumerable<MigrationOperation>, String)

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

GenerateProcedureBody(ICollection<DbModificationCommandTree>, String, String)

Generates the SQL body for a stored procedure.

IsPermissionDeniedError(Exception)

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

Applies to