Table of Contents

Class CompositePrincipalKeyValueFactory

Namespace
Microsoft.EntityFrameworkCore.ChangeTracking.Internal
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 CompositePrincipalKeyValueFactory : CompositeValueFactory, IDependentKeyValueFactory<IReadOnlyList<object?>>, IDependentKeyValueFactory, IPrincipalKeyValueFactory<IReadOnlyList<object?>>, IPrincipalKeyValueFactory
Inheritance
CompositePrincipalKeyValueFactory
Implements
Inherited Members

Constructors

CompositePrincipalKeyValueFactory(IKey)

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 CompositePrincipalKeyValueFactory(IKey key)

Parameters

key IKey

Methods

CreateEquatableKey(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 CreateEquatableKey(IUpdateEntry entry, bool fromOriginalValues)

Parameters

entry IUpdateEntry
fromOriginalValues bool

Returns

object

CreateFromBuffer(ValueBuffer)

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? CreateFromBuffer(ValueBuffer valueBuffer)

Parameters

valueBuffer ValueBuffer

Returns

object

CreateFromCurrentValues(IUpdateEntry)

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 IReadOnlyList<object?> CreateFromCurrentValues(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Returns

IReadOnlyList<object>

CreateFromKeyValues(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 object? CreateFromKeyValues(IReadOnlyList<object?> keyValues)

Parameters

keyValues IReadOnlyList<object>

Returns

object

CreateFromOriginalValues(IUpdateEntry)

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 IReadOnlyList<object?> CreateFromOriginalValues(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Returns

IReadOnlyList<object>

CreateFromRelationshipSnapshot(IUpdateEntry)

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 IReadOnlyList<object?> CreateFromRelationshipSnapshot(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Returns

IReadOnlyList<object>

FindNullPropertyInCurrentValues(IUpdateEntry)

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 IProperty? FindNullPropertyInCurrentValues(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Returns

IProperty

FindNullPropertyInKeyValues(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 IProperty FindNullPropertyInKeyValues(IReadOnlyList<object?> keyValues)

Parameters

keyValues IReadOnlyList<object>

Returns

IProperty