BccCode.Privacy 12.0.0

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

BccCode.Privacy

The framework-neutral core of BCC Privacy. It holds what every adapter shares and references no framework: no EF Core, ASP.NET Core or Wolverine. Its only dependency is BccCode.Privacy.Vocabulary (legal bases, personal data categories).

Type What it is
PrivacyData<T>, PrivacyChildData<T, TParentData> What an entity holds: its data subject, its org, and its fields per personal data category
PrivacyProcess, PrivacySubProcess<TParent> What a process keeps, about whom, on what legal basis and for how long
PersonalDataModel, ProcessModel The declarations read from their classes, with the checks start-up and privacy check run (PRIVACY001 and on)
[PrivacyProcess<TProcess>] What an endpoint, message handler or message type serves. The host adapters set the work's PrivacyContext from it
PrivacyContext Who works with the data and for what: the orgs and the one process of a request, a message or a second context, or system maintenance with its reason. Made by the container, one per scope
PrivacyViolationException, PrivacyConsentRequiredException A refusal, and a missing consent of the signed-in person

Most applications reference BccCode.Privacy.Hosting, which brings this package with the EF Core, ASP.NET Core and Wolverine adapters.

Version 0.x: the API will change. Licence: Apache 2.0. Source and design: bcc-code/bcc-privacy, libraries/dotnet and docs/architecture-proposal/final.

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

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

Package Downloads
BccCode.Privacy.AspNetCore

BCC Privacy for ASP.NET Core: the privacy context of each request from the signed-in organisation and the endpoint's [PrivacyProcess<T>], and consent at sign-in and on first need.

BccCode.Privacy.Hosting

One AddPrivacy() for BCC Privacy: the EF Core adapter, the privacy context of each request, consent at sign-in, the privacy job and its endpoints, the Core group loader, the declarations checked at start-up, and the application's processes published to the Privacy API at deploy. Wolverine and ChangeHistory are optional packages: o.UseWolverine(), o.UseChangeHistory().

BccCode.Privacy.EntityFrameworkCore

Purpose-bound access to personal data in EF Core and PostgreSQL: the privacy layer in an ordinary EF model, filters by organisation and process, the derivation of what each process keeps on save, hiding of fields a process does not keep, sharing between organisations, consents and the read audit.

BccCode.Privacy.Postgres

The PostgreSQL layer of BCC Privacy: the privacy columns, column comments, constraints, the catalogue and the package tables, generated from the data classes and processes. PrivacySql.Script(...) serves migrators other than EF Core.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
14.6.8 42 11/26/2026
14.6.7 42 11/26/2026
14.6.6 48 11/26/2026
14.6.5 47 11/26/2026
14.6.4 50 11/26/2026
14.6.3 48 11/26/2026
14.6.2 47 11/26/2026
14.6.1 55 11/26/2026
14.6.0 48 11/26/2026
14.5.0 48 11/26/2026
14.4.0 50 11/26/2026
14.3.0 44 11/26/2026
14.2.0 42 11/26/2026
14.1.1 49 11/26/2026
14.1.0 49 11/26/2026
14.0.1 43 11/26/2026
14.0.0 48 11/26/2026
13.0.0 45 11/26/2026
12.0.1 46 11/26/2026
12.0.0 52 11/26/2026
Loading failed