EntityProviderFactory.Instance 字段

定义

实体客户端提供程序工厂对象的单一实例对象。 这仍然是一个公共字段, (不是属性) ,因为 DbProviderFactory 需要一个字段。

[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 

字段值

属性

适用于