Language

RelationalCommandBuilderFactory クラス

定義

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

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

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalCommandBuilderFactory : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory
public class RelationalCommandBuilderFactory : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalCommandBuilderFactory = class
    interface IRelationalCommandBuilderFactory
type RelationalCommandBuilderFactory = class
    interface IRelationalCommandBuilderFactory
Public Class RelationalCommandBuilderFactory
Implements IRelationalCommandBuilderFactory
継承
RelationalCommandBuilderFactory
属性
実装

注釈

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

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

コンストラクター

Name 説明
RelationalCommandBuilderFactory(RelationalCommandBuilderDependencies)

新しい RelationalCommand を構築します。

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

プロパティ

Name 説明
Dependencies

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

メソッド

Name 説明
Create()

新しい IRelationalCommandBuilderを作成します。

適用対象