DbMigrationsConfiguration.SetSqlGenerator Method
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.
Adds a new SQL generator to be used for a given database provider.
public void SetSqlGenerator (string providerInvariantName, System.Data.Entity.Migrations.Sql.MigrationSqlGenerator migrationSqlGenerator);
member this.SetSqlGenerator : string * System.Data.Entity.Migrations.Sql.MigrationSqlGenerator -> unit
Parameters
- providerInvariantName
- String
Name of the database provider to set the SQL generator for.
- migrationSqlGenerator
- MigrationSqlGenerator
The SQL generator to be used.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework