Share via


EntityProviderFactory Class

Definition

Class representing a provider factory for the entity client provider

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2302", Justification="We don't expect serviceType to be an Embedded Interop Types.")]
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
EntityProviderFactory
Attributes
Implements

Fields

Instance

A singleton object for the entity client provider factory object. This remains a public field (not property) because DbProviderFactory expects a field.

Methods

CreateCommand()

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

CreateCommandBuilder()

Throws a NotSupportedException. This method is currently not supported.

CreateConnection()

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

CreateConnectionStringBuilder()

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

CreateDataAdapter()

Throws a NotSupportedException. This method is currently not supported.

CreateParameter()

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

CreatePermission(PermissionState)

Throws a NotSupportedException. This method is currently not supported.

Explicit Interface Implementations

IServiceProvider.GetService(Type)

Returns the requested IServiceProvider class.

Applies to