EntityProviderFactory.Instance Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework