BccCode.Privacy.Postgres
0.23.3
See the version list below for details.
dotnet add package BccCode.Privacy.Postgres --version 0.23.3
NuGet\Install-Package BccCode.Privacy.Postgres -Version 0.23.3
<PackageReference Include="BccCode.Privacy.Postgres" Version="0.23.3" />
<PackageVersion Include="BccCode.Privacy.Postgres" Version="0.23.3" />
<PackageReference Include="BccCode.Privacy.Postgres" />
paket add BccCode.Privacy.Postgres --version 0.23.3
#r "nuget: BccCode.Privacy.Postgres, 0.23.3"
#:package BccCode.Privacy.Postgres@0.23.3
#addin nuget:?package=BccCode.Privacy.Postgres&version=0.23.3
#tool nuget:?package=BccCode.Privacy.Postgres&version=0.23.3
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(identifiedorpseudonymised; not on child entities) andlast_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_fieldandprivacy.process_data_category. Joining the last two answers "which processes keepapp.application.phone, and until when?". - The package tables:
privacy.consents,privacy.restrictions,privacy.pseudonym, and the bookkeeping tablesprivacy.tombstone,privacy.job_run,privacy.read_auditandprivacy.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 | Versions 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. |
-
net10.0
- BccCode.Privacy (>= 0.23.3)
- BccCode.Privacy.Vocabulary (>= 0.1.31)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.11.0)
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 |