EntityProviderFactory EntityProviderFactory EntityProviderFactory EntityProviderFactory Class

Definition

Represents a set of methods for creating instances of a provider's implementation of the data source classes.

public ref class EntityProviderFactory sealed : System::Data::Common::DbProviderFactory, IServiceProvider
public sealed class EntityProviderFactory : System.Data.Common.DbProviderFactory, IServiceProvider
type EntityProviderFactory = class
    inherit DbProviderFactory
    interface IServiceProvider
Public NotInheritable Class EntityProviderFactory
Inherits DbProviderFactory
Implements IServiceProvider
Inheritance
EntityProviderFactoryEntityProviderFactoryEntityProviderFactoryEntityProviderFactory
Implements

Remarks

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.

Fields

Instance Instance Instance Instance

This EntityProviderFactory instance.

Methods

CreateCommand() CreateCommand() CreateCommand() CreateCommand()

Returns a new instance of the provider's class that implements the EntityCommand class.

CreateCommandBuilder() CreateCommandBuilder() CreateCommandBuilder() CreateCommandBuilder()

Throws a NotSupportedException. This method is currently not supported.

CreateConnection() CreateConnection() CreateConnection() CreateConnection()

Returns a new instance of the provider's class that implements the EntityConnection class.

CreateConnectionStringBuilder() CreateConnectionStringBuilder() CreateConnectionStringBuilder() CreateConnectionStringBuilder()

Returns a new instance of the provider's class that implements the EntityConnectionStringBuilder class.

CreateDataAdapter() CreateDataAdapter() CreateDataAdapter() CreateDataAdapter()

CreateDataAdapter() is not supported in this version of the .NET Framework.

CreateDataSourceEnumerator() CreateDataSourceEnumerator() CreateDataSourceEnumerator() CreateDataSourceEnumerator()

Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.

(Inherited from DbProviderFactory)
CreateParameter() CreateParameter() CreateParameter() CreateParameter()

Returns a new instance of the provider's class that implements the EntityParameter class.

CreatePermission(PermissionState) CreatePermission(PermissionState) CreatePermission(PermissionState) CreatePermission(PermissionState)

Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type)

Returns the requested IServiceProvider class.

Properties

CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.

(Inherited from DbProviderFactory)

Applies to