Table of Contents

Class EntryCurrentValueComparer

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 EntryCurrentValueComparer : IComparer<IUpdateEntry>, IEqualityComparer<IUpdateEntry>
Inheritance
EntryCurrentValueComparer
Implements
Derived
Inherited Members

Constructors

EntryCurrentValueComparer(IPropertyBase)

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 EntryCurrentValueComparer(IPropertyBase property)

Parameters

property IPropertyBase

EntryCurrentValueComparer(IPropertyBase, IComparer)

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 EntryCurrentValueComparer(IPropertyBase property, IComparer underlyingComparer)

Parameters

property IPropertyBase
underlyingComparer IComparer

Methods

Compare(IUpdateEntry?, 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 int Compare(IUpdateEntry? x, IUpdateEntry? y)

Parameters

x IUpdateEntry
y IUpdateEntry

Returns

int

ComparePropertyValues(object?, 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 int ComparePropertyValues(object? x, object? y)

Parameters

x object
y object

Returns

int

Equals(IUpdateEntry?, 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 bool Equals(IUpdateEntry? x, IUpdateEntry? y)

Parameters

x IUpdateEntry
y IUpdateEntry

Returns

bool

GetHashCode(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 int GetHashCode(IUpdateEntry obj)

Parameters

obj IUpdateEntry

Returns

int

GetPropertyValue(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.

protected virtual object? GetPropertyValue(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Returns

object