Class EntryCurrentValueComparer
- 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
IPropertyBaseunderlyingComparer
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
Returns
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
Returns
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
Returns
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
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