語言

IndexExtensions.GetNullableValueFactory<TKey>(IIndex) 方法

定義

根據從各種實體資料取得的索引鍵值,獲得一個關鍵值的工廠。

此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。

public static Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory<TKey> GetNullableValueFactory<TKey>(this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member GetNullableValueFactory : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory<'Key>
<Extension()>
Public Function GetNullableValueFactory(Of TKey) (index As IIndex) As IDependentKeyValueFactory(Of TKey)

類型參數

TKey

索引實例的類型。

參數

index
IIndex

索引元資料。

傳回

工廠。

適用於