Pure.Primitives.Abstractions.EFCore.ValueComparers 0.1.0-preview.0.2.0

This is a prerelease version of Pure.Primitives.Abstractions.EFCore.ValueComparers.
dotnet add package Pure.Primitives.Abstractions.EFCore.ValueComparers --version 0.1.0-preview.0.2.0
                    
NuGet\Install-Package Pure.Primitives.Abstractions.EFCore.ValueComparers -Version 0.1.0-preview.0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pure.Primitives.Abstractions.EFCore.ValueComparers" Version="0.1.0-preview.0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pure.Primitives.Abstractions.EFCore.ValueComparers" Version="0.1.0-preview.0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Pure.Primitives.Abstractions.EFCore.ValueComparers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Pure.Primitives.Abstractions.EFCore.ValueComparers --version 0.1.0-preview.0.2.0
                    
#r "nuget: Pure.Primitives.Abstractions.EFCore.ValueComparers, 0.1.0-preview.0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Pure.Primitives.Abstractions.EFCore.ValueComparers@0.1.0-preview.0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pure.Primitives.Abstractions.EFCore.ValueComparers&version=0.1.0-preview.0.2.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Pure.Primitives.Abstractions.EFCore.ValueComparers&version=0.1.0-preview.0.2.0&prerelease
                    
Install as a Cake Tool

Pure.Primitives.Abstractions.EFCore.ValueComparers

EF Core ValueComparer implementations for Pure.Primitives types — correct change-tracking for Pure primitive types stored via EF Core.

.NET build & test Build and Deploy NuGet License: MIT

Overview

Pure.Primitives.Abstractions.EFCore.ValueComparers provides ValueComparer<T> implementations for every type in the Pure.Primitives ecosystem. EF Core uses value comparers to detect whether a tracked property has changed. Because Pure primitives use interface-based equality rather than object.Equals, a custom comparer is required for each type to ensure correct snapshot comparison and change detection.

Pair these comparers with the converters from Pure.Primitives.Abstractions.EFCore.Converters when configuring entity properties.

Comparers

Comparer Compares
BoolValueComparer IBool
CharValueComparer IChar
StringValueComparer IString
NumberValueComparer<T> INumber<T>
GuidValueComparer IGuid
DateValueComparer IDate
TimeValueComparer ITime
DateTimeValueComparer IDateTime
DayOfWeekValueComparer IDayOfWeek

Dependencies

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Pure.Primitives.Abstractions.EFCore.ValueComparers:

Package Downloads
Pure.Chart.RichRelationalModel.EFCore.Models.Configurations

Package Description

Pure.Diagram.RichRelationalModel.EFCore.Models.Configurations

Package Description

Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.0.2.0 126 11/11/2026
0.1.0-preview.0.1.1 2,556 6/17/2026
0.1.0-preview.0.1.0 2,188 2/18/2026