BccCode.Privacy.ChangeHistory 14.13.1

dotnet add package BccCode.Privacy.ChangeHistory --version 14.13.1
                    
NuGet\Install-Package BccCode.Privacy.ChangeHistory -Version 14.13.1
                    
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="BccCode.Privacy.ChangeHistory" Version="14.13.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BccCode.Privacy.ChangeHistory" Version="14.13.1" />
                    
Directory.Packages.props
<PackageReference Include="BccCode.Privacy.ChangeHistory" />
                    
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 BccCode.Privacy.ChangeHistory --version 14.13.1
                    
#r "nuget: BccCode.Privacy.ChangeHistory, 14.13.1"
                    
#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 BccCode.Privacy.ChangeHistory@14.13.1
                    
#: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=BccCode.Privacy.ChangeHistory&version=14.13.1
                    
Install as a Cake Addin
#tool nuget:?package=BccCode.Privacy.ChangeHistory&version=14.13.1
                    
Install as a Cake Tool

BccCode.Privacy.ChangeHistory

Connects BCC Privacy's server SDK and BccCode.ChangeHistory on one model: each personal entity's org is its history partition, an org reads the versions, events and links of its own orgs, and the privacy columns make no history version. The privacy job blanks and erases a row's history with the row.

dotnet add package BccCode.Privacy.ChangeHistory
builder.Services.AddPrivacy<ATeamDbContext>(o => o.Declare(typeof(ApplicationData).Assembly).UseChangeHistory());

With the privacy layer in the app's schema (PrivacySchemaNames.InAppSchema), keep ChangeHistory there too:

builder.Services.AddDbContext<ATeamDbContext>(o => o.UseNpgsql(connection).UseChangeHistorySchemaNames(ChangeHistorySchemaNames.InAppSchema));
builder.Services.AddPrivacy<ATeamDbContext>(o =>
{
    o.Declare(typeof(ApplicationData).Assembly).UseChangeHistory();
    o.Schemas = PrivacySchemaNames.InAppSchema;
});

The two settings must go together: a mix stops when the model is built. Do not mix Default and InAppSchema in one database. With BccCode.ChangeHistory 0.7.96 to 0.7.98, run <schema>.audit_grant_application('<role>') again after a migration that adds tables; from 0.7.99 later migrations grant on new tables themselves. Needs BccCode.ChangeHistory 0.7.96 or later. The reference lists the other in-app notes.

Documentation: getting started and reference.

Licence: Apache 2.0. Source: bcc-code/bcc-privacy, libraries/dotnet.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
14.13.1 0 12/6/2026
14.13.0 0 12/5/2026
14.13.0-beta.545 0 12/5/2026
14.12.0 115 12/2/2026
14.11.0 53 12/2/2026
14.10.0 49 12/2/2026
14.9.0 92 12/2/2026
14.8.0 50 12/2/2026
14.7.0 50 12/2/2026
14.6.8 102 11/26/2026
14.6.7 99 11/26/2026
14.6.6 99 11/26/2026
14.6.5 100 11/26/2026
14.6.4 100 11/26/2026
14.6.3 104 11/26/2026
14.6.2 97 11/26/2026
14.6.1 104 11/26/2026
14.6.0 96 11/26/2026
14.5.0 91 11/26/2026
14.4.0 100 11/26/2026
Loading failed