EntityProviderFactory EntityProviderFactory EntityProviderFactory EntityProviderFactory Class

Definición

Representa un conjunto de métodos para crear instancias de la implementación de un proveedor de las clases de origen de datos.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
Herencia
EntityProviderFactoryEntityProviderFactoryEntityProviderFactoryEntityProviderFactory
Implementaciones

Comentarios

EntityProviderFactory proporciona un punto de entrada común para obtener clases System.Data.EntityClient.The EntityProviderFactory provides a common entry point to obtain System.Data.EntityClient classes.

Para obtener información conceptual sobre cómo usar EntityProviderFactory, vea ADO.NET Entity Framework y DbProviderFactories.For conceptual information about how to use EntityProviderFactory, see ADO.NET Entity Framework and DbProviderFactories.

Campos

Instance Instance Instance Instance

Esta instancia de EntityProviderFactory.This EntityProviderFactory instance.

Métodos

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

Devuelve una nueva instancia de la clase del proveedor que implementa la clase EntityCommand.Returns a new instance of the provider's class that implements the EntityCommand class.

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

Produce una excepción NotSupportedException.Throws a NotSupportedException. Este método no se admite actualmente.This method is currently not supported.

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

Devuelve una nueva instancia de la clase del proveedor que implementa la clase EntityConnection.Returns a new instance of the provider's class that implements the EntityConnection class.

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

Devuelve una nueva instancia de la clase del proveedor que implementa la clase EntityConnectionStringBuilder.Returns a new instance of the provider's class that implements the EntityConnectionStringBuilder class.

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

CreateDataAdapter() no se admite en esta versión de .NET Framework.NET Framework.CreateDataAdapter() is not supported in this version of the .NET Framework.NET Framework.

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

Devuelve una nueva instancia de la clase del proveedor que implementa la clase DbDataSourceEnumerator.Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.

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

Devuelve una nueva instancia de la clase del proveedor que implementa la clase EntityParameter.Returns a new instance of the provider's class that implements the EntityParameter class.

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

Devuelve una nueva instancia de la clase del proveedor que implementa la versión del proveedor de la clase CodeAccessPermission.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)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

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

Sirve como la función hash predeterminada.Serves as the default hash function.

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

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

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

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

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

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

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

Devuelve la clase IServiceProvider solicitada.Returns the requested IServiceProvider class.

Propiedades

CanCreateCommandBuilder CanCreateCommandBuilder CanCreateCommandBuilder CanCreateCommandBuilder

Obtiene un valor que indica si esta instancia de DbProviderFactory admite la clase DbCommandBuilder.Gets a value that indicates whether this DbProviderFactory instance supports the DbCommandBuilder class.

(Inherited from DbProviderFactory)
CanCreateDataAdapter CanCreateDataAdapter CanCreateDataAdapter CanCreateDataAdapter

Obtiene un valor que indica si esta instancia de DbProviderFactory admite la clase DbDataAdapter.Gets a value that indicates whether this DbProviderFactory instance supports the DbDataAdapter class.

(Inherited from DbProviderFactory)
CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator

Obtiene un valor que indica si esta instancia de DbProviderFactory admite la clase DbDataSourceEnumerator.Gets a value that indicates whether this DbProviderFactory instance supports the DbDataSourceEnumerator class.

(Inherited from DbProviderFactory)

Se aplica a