EntityProviderFactory クラス

定義

プロバイダーのデータ ソース クラスの実装のインスタンスを作成するためのメソッドのセットを表します。

public ref class EntityProviderFactory sealed : System::Data::Common::DbProviderFactory, IServiceProvider
public sealed class EntityProviderFactory : System.Data.Common.DbProviderFactory, IServiceProvider
type EntityProviderFactory = class
    inherit DbProviderFactory
    interface IServiceProvider
Public NotInheritable Class EntityProviderFactory
Inherits DbProviderFactory
Implements IServiceProvider
継承
EntityProviderFactory
実装

注釈

EntityProviderFactory は、System.Data.EntityClient クラスを取得するための共通のエントリ ポイントを提供します。

の使用方法EntityProviderFactoryの概念については、「ADO.NET Entity FrameworkDbProviderFactories」を参照してください。

フィールド

Instance

この EntityProviderFactory インスタンス。

プロパティ

CanCreateBatch

この DbProviderFactory インスタンスが DbBatch クラスをサポートしているかどうかを示す値を取得します。

(継承元 DbProviderFactory)
CanCreateCommandBuilder

この DbProviderFactory インスタンスが DbCommandBuilder クラスをサポートしているかどうかを示す値を取得します。

(継承元 DbProviderFactory)
CanCreateDataAdapter

この DbProviderFactory インスタンスが DbDataAdapter クラスをサポートしているかどうかを示す値を取得します。

(継承元 DbProviderFactory)
CanCreateDataSourceEnumerator

この DbProviderFactory インスタンスが DbDataSourceEnumerator クラスをサポートしているかどうかを示す値を取得します。

(継承元 DbProviderFactory)

メソッド

CreateBatch()

DbBatch クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

(継承元 DbProviderFactory)
CreateBatchCommand()

DbBatchCommand クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

(継承元 DbProviderFactory)
CreateCommand()

EntityCommand クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

CreateCommandBuilder()

NotSupportedException をスローします。 このメソッドは現在サポートされていません。

CreateConnection()

EntityConnection クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

CreateConnectionStringBuilder()

EntityConnectionStringBuilder クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

CreateDataAdapter()

CreateDataAdapter()は、このバージョンの.NET Frameworkではサポートされていません。

CreateDataSource(String)

クラスを実装DbDataSourceするプロバイダーのクラスの新しいインスタンスを返します。これは、指定された接続文字列のデータベースを表し、接続を渡す準備ができています。

(継承元 DbProviderFactory)
CreateDataSourceEnumerator()

DbDataSourceEnumerator クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

(継承元 DbProviderFactory)
CreateParameter()

EntityParameter クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。

CreatePermission(PermissionState)

CodeAccessPermission クラスのプロバイダーのバージョンを実装するプロバイダーのクラスの新しいインスタンスを返します。

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

IServiceProvider.GetService(Type)

要求された IServiceProvider クラスを返します。

拡張メソッド

GetKeyedService<T>(IServiceProvider, Object)

から 型 T のサービスを取得します IServiceProvider

GetKeyedServices(IServiceProvider, Type, Object)

から 型 serviceType のサービスの列挙体を取得します IServiceProvider

GetKeyedServices<T>(IServiceProvider, Object)

から 型 T のサービスの列挙体を取得します IServiceProvider

GetRequiredKeyedService(IServiceProvider, Type, Object)

から 型 serviceType のサービスを取得します IServiceProvider

GetRequiredKeyedService<T>(IServiceProvider, Object)

から 型 T のサービスを取得します IServiceProvider

CreateAsyncScope(IServiceProvider)

スコープ サービスを解決するために使用できる新しい AsyncServiceScope を作成します。

CreateScope(IServiceProvider)

スコープ サービスを解決するために使用できる新しい IServiceScope を作成します。

GetRequiredService(IServiceProvider, Type)

IServiceProvider から serviceType 型のサービスを取得します。

GetRequiredService<T>(IServiceProvider)

IServiceProvider から T 型のサービスを取得します。

GetService<T>(IServiceProvider)

IServiceProvider から T 型のサービスを取得します。

GetServices(IServiceProvider, Type)

IServiceProvider から serviceType 型のサービスの列挙体を取得します。

GetServices<T>(IServiceProvider)

IServiceProvider から T 型のサービスの列挙体を取得します。

GetFakeLogCollector(IServiceProvider)

偽のロガーに送信されたログ レコードを収集する オブジェクトを取得します。

GetFakeRedactionCollector(IServiceProvider)

依存関係挿入コンテナーから偽の redactor コレクター インスタンスを取得します。

適用対象