MigrationSqlGenerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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
Entity Framework