共用方式為


EntityProviderFactory.Instance 欄位

定義

實體用戶端提供者 Factory 物件的單一物件。 這仍然是公用欄位, (不是屬性) ,因為 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 

欄位值

屬性

適用於