EntityProviderFactory クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロバイダーのデータ ソース クラスの実装のインスタンスを作成するための一連のメソッドを表します。
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は、System.Data.EntityClient クラスを取得するための共通のエントリ ポイントを提供します。
EntityProviderFactoryの使用方法の概念については、ADO.NET Entity Framework および DbProviderFactories を参照してください。
フィールド
| 名前 | 説明 |
|---|---|
| Instance |
この EntityProviderFactory インスタンス。 |
プロパティ
| 名前 | 説明 |
|---|---|
| CanCreateDataSourceEnumerator |
この DbProviderFactory インスタンスが DbDataSourceEnumerator クラスをサポートしているかどうかを示す値を取得します。 (継承元 DbProviderFactory) |
メソッド
| 名前 | 説明 |
|---|---|
| CreateCommand() |
EntityCommand クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。 |
| CreateCommandBuilder() |
NotSupportedException をスローします。 このメソッドは現在サポートされていません。 |
| CreateConnection() |
EntityConnection クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。 |
| CreateConnectionStringBuilder() |
EntityConnectionStringBuilder クラスを実装するプロバイダーのクラスの新しいインスタンスを返します。 |
| CreateDataAdapter() |
CreateDataAdapter() は、このバージョンの .NET Framework ではサポートされていません。 |
| 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 クラスを返します。 |