Table of Contents

Class SimpleNullableDependentKeyValueFactory<TKey>

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 SimpleNullableDependentKeyValueFactory<TKey> : DependentKeyValueFactory<TKey>, IDependentKeyValueFactory<TKey>, IDependentKeyValueFactory where TKey : struct

Type Parameters

TKey
Inheritance
SimpleNullableDependentKeyValueFactory<TKey>
Implements
Inherited Members

Constructors

SimpleNullableDependentKeyValueFactory(IForeignKey, IPrincipalKeyValueFactory<TKey>)

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 SimpleNullableDependentKeyValueFactory(IForeignKey foreignKey, IPrincipalKeyValueFactory<TKey> principalKeyValueFactory)

Parameters

foreignKey IForeignKey
principalKeyValueFactory IPrincipalKeyValueFactory<TKey>

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 override IEqualityComparer<TKey> EqualityComparer { get; }

Property Value

IEqualityComparer<TKey>

Methods

TryCreateFromBuffer(in ValueBuffer, out TKey)

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 TKey key)

Parameters

valueBuffer ValueBuffer
key TKey

Returns

bool

TryCreateFromCurrentValues(IUpdateEntry, out TKey)

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 override bool TryCreateFromCurrentValues(IUpdateEntry entry, out TKey key)

Parameters

entry IUpdateEntry
key TKey

Returns

bool

TryCreateFromOriginalValues(IUpdateEntry, out TKey)

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 override bool TryCreateFromOriginalValues(IUpdateEntry entry, out TKey key)

Parameters

entry IUpdateEntry
key TKey

Returns

bool

TryCreateFromPreStoreGeneratedCurrentValues(IUpdateEntry, out TKey)

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 TKey key)

Parameters

entry IUpdateEntry
key TKey

Returns

bool

TryCreateFromRelationshipSnapshot(IUpdateEntry, out TKey)

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 TKey key)

Parameters

entry IUpdateEntry
key TKey

Returns

bool