EntityProviderFactory 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
엔터티 클라이언트 공급자에 대한 공급자 팩터리를 나타내는 클래스
[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 클래스를 반환합니다. |