NetArcaWs.EntityFrameworkCore.PostgreSql 0.7.0

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

NetArcaWs.EntityFrameworkCore.PostgreSql

Optional PostgreSQL integration for the NetArcaWs EF Core persistence package. It is maintained under LGPL-3.0-or-later; see the package license and third-party notices.

var model = NetArcaWsModelOptions.Configure(options =>
    options.AddInvoicing(ArcaService.Wsfev1, ArcaService.Wsfexv1)
        .AddInvoiceRecovery(ArcaService.Wsfev1));

services.AddNetArcaWsPostgreSqlStores(
    configuration.GetConnectionString("ArcaPersistence")!,
    model);

Registration uses the supplied connection string but does not connect, detect server details, create tables, apply migrations, or enable EF execution-strategy retries. Apply reviewed migrations through the consuming application. The selected model controls which NetArcaWs tables are included. The Npgsql.EntityFrameworkCore.PostgreSQL dependency is optional and is not referenced by the core or base EF packages.

For shared WSAA tickets, select services with AddWsaaTickets(...) and register an IWsaaTicketProtector backed by an application-managed shared key ring before calling AddNetArcaWsPostgreSqlStores. The key ring must be stored outside the ticket database.

Recovery selection only adds its optional queue table to the model. Select each recovery service in both AddInvoicing(...) and AddInvoiceRecovery(...), apply its official migration explicitly, and opt into AddNetArcaWsInvoiceRecoveryWorker(...) only after registering an application-owned IInvoiceRecoveryContextResolver. The resolver authorizes the stored tenant/CUIT/environment and resolves the exact opaque credential-version reference; the library does not authorize tenants or store credentials in the queue. SQLite is limited to local files and processes on one host; multi-host recovery needs shared transactional server storage.

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
0.7.0 34 10/13/2026
0.6.0 72 10/7/2026