BccCode.Privacy.Postgres 0.23.2

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

BccCode.Privacy.Postgres

The PostgreSQL layer of BCC Privacy, generated from the data classes and processes of BccCode.Privacy:

  • On each table that holds personal data: allowed_processes (the processes that keep something in the row), person_link (identified or pseudonymised; not on child entities) and last_reduced_at, with check constraints and a comment on every column naming its data category, or "data subject", "not personal data" or "key".
  • The catalogue: privacy.process, privacy.data_category_field and privacy.process_data_category. Joining the last two answers "which processes keep app.application.phone, and until when?".
  • The package tables: privacy.consents, privacy.restrictions, privacy.pseudonym, and the bookkeeping tables privacy.tombstone, privacy.job_run, privacy.read_audit and privacy.outbox.

The EF Core adapter writes all of this into a normal migration. Other migrators run the script:

var data = PersonalDataModel.FromAssemblies(typeof(ApplicationData).Assembly);
var processes = ProcessModel.FromAssemblies(data, typeof(ParticipationProcess).Assembly);
var sql = PrivacySql.Script(processes, new ConventionStorageMap("app", jsonMembers: "WorkPart"));

The script is idempotent and can run on every deploy, after the application's own tables exist. IStorageMap says where each field is stored; ConventionStorageMap uses snake-case names and treats the listed members as JSON columns.

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 (1)

Showing the top 1 NuGet packages that depend on BccCode.Privacy.Postgres:

Package Downloads
BccCode.Privacy.EntityFrameworkCore

Purpose-bound access to personal data in EF Core and PostgreSQL: a basis per organisation and process, a query filter, sharing between organisations by data item, and generated read views.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.27.1 0 11/24/2026
0.27.0 0 11/24/2026
0.26.0 0 11/24/2026
0.25.1 0 11/24/2026
0.25.0 7 11/24/2026
0.24.0 9 11/24/2026
0.23.6 11 11/24/2026
0.23.5 11 11/24/2026
0.23.4 9 11/24/2026
0.23.3 54 11/24/2026
0.23.2 49 11/24/2026
0.23.1 51 11/24/2026
0.23.0 51 11/24/2026
0.22.0 61 11/24/2026
0.21.0 66 11/23/2026
0.20.0 57 11/23/2026
0.19.0 62 11/23/2026
0.18.0 57 11/23/2026
0.17.0 59 11/23/2026
0.16.0 52 11/23/2026