RelationalCommandBuilderFactory クラス

定義

インスタンスの RelationalCommandBuilder ファクトリ。

この型は、通常、データベース プロバイダー (およびその他の拡張機能) によって使用されます。 通常、アプリケーション コードでは使用されません。

public class RelationalCommandBuilderFactory : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory
type RelationalCommandBuilderFactory = class
    interface IRelationalCommandBuilderFactory
Public Class RelationalCommandBuilderFactory
Implements IRelationalCommandBuilderFactory
継承
RelationalCommandBuilderFactory
実装

注釈

サービスの有効期間は です Singleton。 これは、1 つのインスタンスが多くの DbContext インスタンスで使用されていることを意味します。 実装はスレッド セーフである必要があります。 このサービスは、 として Scoped登録されているサービスに依存できません。

詳細と例については、「 データベース プロバイダーと拡張機能の実装 」を参照してください。

コンストラクター

名前 説明
RelationalCommandBuilderFactory(RelationalCommandBuilderDependencies)

新しい RelationalCommand を構築します。

この型は、通常、データベース プロバイダー (およびその他の拡張機能) によって使用されます。 通常、アプリケーション コードでは使用されません。

プロパティ

名前 説明
Dependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

メソッド

名前 説明
Create()

新しい IRelationalCommandBuilder を作成します。

適用対象