IndexExtensions.GetNullableValueFactory<TKey>(IIndex) Method

Definition

Gets a factory for key values based on the index key values taken from various forms of entity data.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

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)

Type Parameters

TKey

The type of the index instance.

Parameters

index
IIndex

The index metadata.

Returns

The factory.

Applies to