다음을 통해 공유


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를 throw합니다. 이 메서드는 현재 지원되지 않습니다.

CreateConnection()

EntityConnection 클래스를 구현하는 공급자 클래스의 새 인스턴스를 반환합니다.

CreateConnectionStringBuilder()

EntityConnectionStringBuilder 클래스를 구현하는 공급자 클래스의 새 인스턴스를 반환합니다.

CreateDataAdapter()

NotSupportedException를 throw합니다. 이 메서드는 현재 지원되지 않습니다.

CreateParameter()

EntityParameter 클래스를 구현하는 공급자 클래스의 새 인스턴스를 반환합니다.

CreatePermission(PermissionState)

NotSupportedException를 throw합니다. 이 메서드는 현재 지원되지 않습니다.

명시적 인터페이스 구현

IServiceProvider.GetService(Type)

요청된 IServiceProvider 클래스를 반환합니다.

적용 대상