次の方法で共有


DbMigrationsConfiguration.SetSqlGenerator メソッド

定義

特定のデータベース プロバイダーに使用する新しい SQL ジェネレーターを追加します。

public void SetSqlGenerator (string providerInvariantName, System.Data.Entity.Migrations.Sql.MigrationSqlGenerator migrationSqlGenerator);
member this.SetSqlGenerator : string * System.Data.Entity.Migrations.Sql.MigrationSqlGenerator -> unit

パラメーター

providerInvariantName
String

SQL ジェネレーターを設定するデータベース プロバイダーの名前。

migrationSqlGenerator
MigrationSqlGenerator

使用する SQL ジェネレーター。

適用対象