Language

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
属性
実装

フィールド

Name 説明
Instance

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

メソッド

Name 説明
CreateCommand()

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

CreateCommandBuilder()

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

CreateConnection()

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

CreateConnectionStringBuilder()

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

CreateDataAdapter()

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

CreateParameter()

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

CreatePermission(PermissionState)

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

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

Name 説明
IServiceProvider.GetService(Type)

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

適用対象