语言

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

索引元数据。

返回

工厂。

适用于