EntityProviderFactory.Instance 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
实体客户端提供程序工厂对象的单一实例对象。 这仍然是一个公共字段, (不是属性) ,因为 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
字段值
- 属性