Class CompositeValueFactory
- Assembly
- Microsoft.EntityFrameworkCore.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 CompositeValueFactory : IDependentKeyValueFactory<IReadOnlyList<object?>>, IDependentKeyValueFactory
- Inheritance
-
CompositeValueFactory
- Implements
- Derived
- Inherited Members
Constructors
CompositeValueFactory(IReadOnlyList<IProperty>)
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 CompositeValueFactory(IReadOnlyList<IProperty> properties)
Parameters
properties
IReadOnlyList<IProperty>
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<IReadOnlyList<object?>> EqualityComparer { get; }
Property Value
Properties
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.
protected virtual IReadOnlyList<IProperty> Properties { get; }
Property Value
Methods
CreateDependentEquatableKey(IUpdateEntry, 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? CreateDependentEquatableKey(IUpdateEntry entry, bool fromOriginalValues)
Parameters
entry
IUpdateEntryfromOriginalValues
bool
Returns
CreateEqualityComparer(IReadOnlyList<IProperty>)
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.
protected static IEqualityComparer<IReadOnlyList<object?>> CreateEqualityComparer(IReadOnlyList<IProperty> properties)
Parameters
properties
IReadOnlyList<IProperty>
Returns
CreatePrincipalEquatableKey(IUpdateEntry, 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 CreatePrincipalEquatableKey(IUpdateEntry entry, bool fromOriginalValues)
Parameters
entry
IUpdateEntryfromOriginalValues
bool
Returns
TryCreateFromBuffer(in ValueBuffer, out IReadOnlyList<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 bool TryCreateFromBuffer(in ValueBuffer valueBuffer, out IReadOnlyList<object?>? key)
Parameters
valueBuffer
ValueBufferkey
IReadOnlyList<object>
Returns
TryCreateFromCurrentValues(IUpdateEntry, out IReadOnlyList<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 bool TryCreateFromCurrentValues(IUpdateEntry entry, out IReadOnlyList<object?>? key)
Parameters
entry
IUpdateEntrykey
IReadOnlyList<object>
Returns
TryCreateFromEntry(IUpdateEntry, Func<IUpdateEntry, IProperty, object?>, out IReadOnlyList<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.
protected virtual bool TryCreateFromEntry(IUpdateEntry entry, Func<IUpdateEntry, IProperty, object?> getValue, out IReadOnlyList<object?>? key)
Parameters
entry
IUpdateEntrygetValue
Func<IUpdateEntry, IProperty, object>key
IReadOnlyList<object>
Returns
TryCreateFromOriginalValues(IUpdateEntry, out IReadOnlyList<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 bool TryCreateFromOriginalValues(IUpdateEntry entry, out IReadOnlyList<object?>? key)
Parameters
entry
IUpdateEntrykey
IReadOnlyList<object>
Returns
TryCreateFromPreStoreGeneratedCurrentValues(IUpdateEntry, out IReadOnlyList<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 bool TryCreateFromPreStoreGeneratedCurrentValues(IUpdateEntry entry, out IReadOnlyList<object?>? key)
Parameters
entry
IUpdateEntrykey
IReadOnlyList<object>
Returns
TryCreateFromRelationshipSnapshot(IUpdateEntry, out IReadOnlyList<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 bool TryCreateFromRelationshipSnapshot(IUpdateEntry entry, out IReadOnlyList<object?>? key)
Parameters
entry
IUpdateEntrykey
IReadOnlyList<object>