次の方法で共有


EntityProviderFactory クラス

定義

エンティティ クライアント プロバイダーのプロバイダー ファクトリを表すクラス

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2302", Justification="We don't expect serviceType to be an Embedded Interop Types.")]
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
属性
実装

フィールド

Instance

エンティティ クライアント プロバイダー ファクトリ オブジェクトのシングルトン オブジェクト。 DbProviderFactory では フィールドが必要であるため、これはパブリック フィールド (プロパティではありません) のままです。

メソッド

CreateCommand()

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

CreateCommandBuilder()

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

CreateConnection()

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

CreateConnectionStringBuilder()

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

CreateDataAdapter()

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

CreateParameter()

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

CreatePermission(PermissionState)

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

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

IServiceProvider.GetService(Type)

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

適用対象