Class SimpleRowKeyValueFactory<TKey>
- Namespace
- Microsoft.EntityFrameworkCore.Update.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class SimpleRowKeyValueFactory<TKey> : IRowKeyValueFactory<TKey>, IRowKeyValueFactory
Type Parameters
TKey
- Inheritance
-
SimpleRowKeyValueFactory<TKey>
- Implements
-
IRowKeyValueFactory<TKey>
- Inherited Members
Constructors
SimpleRowKeyValueFactory(IUniqueConstraint)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public SimpleRowKeyValueFactory(IUniqueConstraint constraint)
Parameters
constraint
IUniqueConstraint
Properties
EqualityComparer
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IEqualityComparer<TKey> EqualityComparer { get; }
Property Value
- IEqualityComparer<TKey>
Methods
CreateEquatableKeyValue(IReadOnlyModificationCommand, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual object CreateEquatableKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
command
IReadOnlyModificationCommandfromOriginalValues
bool
Returns
CreateKeyValue(IReadOnlyModificationCommand, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual TKey CreateKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
command
IReadOnlyModificationCommandfromOriginalValues
bool
Returns
- TKey
CreateKeyValue(IDictionary<string, object?>)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual TKey CreateKeyValue(IDictionary<string, object?> keyValues)
Parameters
keyValues
IDictionary<string, object>
Returns
- TKey
CreateKeyValue(object?[])
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual TKey CreateKeyValue(object?[] keyValues)
Parameters
keyValues
object[]
Returns
- TKey