DbProviderInfo.ProviderInvariantName 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
可識別提供者的字串。 例如,SQL Server 提供者會使用 "System.Data.SqlCient" 此字串。
命名空間: System.Data.Entity.Infrastructure
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public ReadOnly Property ProviderInvariantName As String
Get
'用途
Dim instance As DbProviderInfo
Dim value As String
value = instance.ProviderInvariantName
public string ProviderInvariantName { get; }
public:
property String^ ProviderInvariantName {
String^ get ();
}
member ProviderInvariantName : string
function get ProviderInvariantName () : String