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)
System.Data.Common::DbProviderFactory
System.Data.EntityClient::EntityProviderFactory
| 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(PermissionState) | 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IServiceProvider::GetService(Type^) | Returns the requested IServiceProvider class. |
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.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





