DbMigrationsConfiguration.GetSqlGenerator Method (String)

 

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

Namespace:   System.Data.Entity.Migrations
Assembly:  EntityFramework (in EntityFramework.dll)

public MigrationSqlGenerator GetSqlGenerator(
	string providerInvariantName
)

Parameters

providerInvariantName
Type: System.String

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

Return Value

Type: System.Data.Entity.Migrations.Sql.MigrationSqlGenerator

The SQL generator that is set for the database provider.