IndexExtensions.GetNullableValueFactory<TKey>(IIndex) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據從各種實體資料取得的索引鍵值,獲得一個關鍵值的工廠。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
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
索引元資料。
傳回
工廠。