Share via


DbMigrationsConfiguration.GetSqlGenerator(String) Method

Definition

Gets the SQL generator that is set to be used with a given database provider.

public System.Data.Entity.Migrations.Sql.MigrationSqlGenerator GetSqlGenerator (string providerInvariantName);
member this.GetSqlGenerator : string -> System.Data.Entity.Migrations.Sql.MigrationSqlGenerator
Public Function GetSqlGenerator (providerInvariantName As String) As MigrationSqlGenerator

Parameters

providerInvariantName
String

Name of the database provider to get the SQL generator for.

Returns

The SQL generator that is set for the database provider.

Applies to