EntityProviderFactory Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

System.Object
  System.Data.Common.DbProviderFactory
    System.Data.EntityClient.EntityProviderFactory

public sealed class EntityProviderFactory : DbProviderFactory, 
	IServiceProvider

NameDescription
System_CAPS_pubpropertyCanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.(Inherited from DbProviderFactory.)

NameDescription
System_CAPS_pubmethodCreateCommand()

Returns a new instance of the provider's class that implements the EntityCommand class. (Overrides DbProviderFactory.CreateCommand().)

System_CAPS_pubmethodCreateCommandBuilder()

Throws a NotSupportedException. This method is currently not supported.(Overrides DbProviderFactory.CreateCommandBuilder().)

System_CAPS_pubmethodCreateConnection()

Returns a new instance of the provider's class that implements the EntityConnection class.(Overrides DbProviderFactory.CreateConnection().)

System_CAPS_pubmethodCreateConnectionStringBuilder()

Returns a new instance of the provider's class that implements the EntityConnectionStringBuilder class.(Overrides DbProviderFactory.CreateConnectionStringBuilder().)

System_CAPS_pubmethodCreateDataAdapter()

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

System_CAPS_pubmethodCreateDataSourceEnumerator()

Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.(Inherited from DbProviderFactory.)

System_CAPS_pubmethodCreateParameter()

Returns a new instance of the provider's class that implements the EntityParameter class.(Overrides DbProviderFactory.CreateParameter().)

System_CAPS_pubmethodCreatePermission(PermissionState)

Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class. (Overrides DbProviderFactory.CreatePermission(PermissionState).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticInstance

This EntityProviderFactory instance.

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.

.NET Framework
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.

Return to top
Show: