This documentation is archived and is not being maintained.
EntityProviderFactory Class
Visual Studio 2010
Represents a set of methods for creating instances of a provider's implementation of the data source classes.
System::Object
System.Data.Common::DbProviderFactory
System.Data.EntityClient::EntityProviderFactory
System.Data.Common::DbProviderFactory
System.Data.EntityClient::EntityProviderFactory
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 (ADO.NET).
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
