IDependentKeyValueFactory<TKey> Interface
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.
A factory for key values based on the foreign key values taken from various forms of entity data.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IDependentKeyValueFactory<TKey>
public interface IDependentKeyValueFactory<TKey> : Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory
type IDependentKeyValueFactory<'Key> = interface
type IDependentKeyValueFactory<'Key> = interface
interface IDependentKeyValueFactory
Public Interface IDependentKeyValueFactory(Of TKey)
Public Interface IDependentKeyValueFactory(Of TKey)
Implements IDependentKeyValueFactory
- TKey
The generic type of the key.
- Implements
See Implementation of database providers and extensions for more information and examples.
Equality |
The IEqualityComparer<T> to use for comparing key instances. |
Create |
Creates an equatable key object from the foreign key values in the given entry. (Inherited from IDependentKeyValueFactory) |
Create |
Creates an equatable key object from the key values in the given entry. (Inherited from IDependentKeyValueFactory) |
Try |
Obsolete.
Attempts to create a key instance using foreign key values from the given ValueBuffer. |
Try |
Attempts to create a key instance using foreign key values from the given IUpdateEntry. |
Try |
Attempts to create a key instance using original foreign key values from the given IUpdateEntry. |
Try |
Attempts to create a key instance from the given IUpdateEntry using foreign key values that were set before any store-generated values were propagated. |
Try |
Attempts to create a key instance from the given IUpdateEntry using foreign key values from the previously known relationship. |
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: