Share via


EntityProviderFactory.Instance Field

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification="EntityProviderFactory implements the singleton pattern and it's stateless.  This is needed in order to work with DbProviderFactories.")]
public static readonly System.Data.Entity.Core.EntityClient.EntityProviderFactory Instance;
 staticval mutable Instance : System.Data.Entity.Core.EntityClient.EntityProviderFactory
Public Shared ReadOnly Instance As EntityProviderFactory 

Field Value

Attributes

Applies to