EntityProviderFactory Class
Represents a set of methods for creating instances of a provider's implementation of the data source classes.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The EntityProviderFactory type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CanCreateDataSourceEnumerator | Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class. (Inherited from DbProviderFactory.) |
| Name | Description | |
|---|---|---|
![]() | CreateCommand | Returns a new instance of the provider's class that implements the EntityCommand class. (Overrides DbProviderFactory.CreateCommand().) |
![]() | CreateCommandBuilder | Throws a NotSupportedException. This method is currently not supported. (Overrides DbProviderFactory.CreateCommandBuilder().) |
![]() | CreateConnection | Returns a new instance of the provider's class that implements the EntityConnection class. (Overrides DbProviderFactory.CreateConnection().) |
![]() | CreateConnectionStringBuilder | Returns a new instance of the provider's class that implements the EntityConnectionStringBuilder class. (Overrides DbProviderFactory.CreateConnectionStringBuilder().) |
![]() | CreateDataAdapter | CreateDataAdapter is not supported in this version of the .NET Framework. (Overrides DbProviderFactory.CreateDataAdapter().) |
![]() | CreateDataSourceEnumerator | Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class. (Inherited from DbProviderFactory.) |
![]() | CreateParameter | Returns a new instance of the provider's class that implements the EntityParameter class. (Overrides DbProviderFactory.CreateParameter().) |
![]() | CreatePermission | Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class. (Overrides DbProviderFactory.CreatePermission(PermissionState).) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The EntityProviderFactory provides a common entry point to obtain System.Data.EntityClient classes.
For conceptual information about how to use EntityProviderFactory, see ADO.NET Entity Framework and DbProviderFactories and Provider-Independent Code.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)