KeyExtensions.GetPrincipalKeyValueFactory<TKey>(IKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.IPrincipalKeyValueFactory<TKey> GetPrincipalKeyValueFactory<TKey> (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetPrincipalKeyValueFactory : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.ChangeTracking.IPrincipalKeyValueFactory<'Key>
<Extension()>
Public Function GetPrincipalKeyValueFactory(Of TKey) (key As IKey) As IPrincipalKeyValueFactory(Of TKey)
Type Parameters
- TKey
The type of the key instance.
Parameters
- key
- IKey
The key metadata.
Returns
The factory.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för