IKey.GetPrincipalKeyValueFactory Method

Definition

Overloads

GetPrincipalKeyValueFactory()

Gets a factory for key values based on the 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.

GetPrincipalKeyValueFactory<TKey>()

Gets a factory for key values based on the 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.

GetPrincipalKeyValueFactory()

Source:
IKey.cs
Source:
IKey.cs
Source:
IKey.cs

Gets a factory for key values based on the 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.

C#
public Microsoft.EntityFrameworkCore.ChangeTracking.IPrincipalKeyValueFactory GetPrincipalKeyValueFactory ();

Returns

The factory.

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 7.0, 8.0, 9.0

GetPrincipalKeyValueFactory<TKey>()

Source:
IKey.cs
Source:
IKey.cs
Source:
IKey.cs
Source:
IKey.cs

Gets a factory for key values based on the 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.

C#
public Microsoft.EntityFrameworkCore.ChangeTracking.IPrincipalKeyValueFactory<TKey> GetPrincipalKeyValueFactory<TKey> ();

Type Parameters

TKey

The type of the key instance.

Returns

The factory.

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0