Endatix.Persistence.PostgreSql
0.9.1
See the version list below for details.
dotnet add package Endatix.Persistence.PostgreSql --version 0.9.1
NuGet\Install-Package Endatix.Persistence.PostgreSql -Version 0.9.1
<PackageReference Include="Endatix.Persistence.PostgreSql" Version="0.9.1" />
<PackageVersion Include="Endatix.Persistence.PostgreSql" Version="0.9.1" />
<PackageReference Include="Endatix.Persistence.PostgreSql" />
paket add Endatix.Persistence.PostgreSql --version 0.9.1
#r "nuget: Endatix.Persistence.PostgreSql, 0.9.1"
#:package Endatix.Persistence.PostgreSql@0.9.1
#addin nuget:?package=Endatix.Persistence.PostgreSql&version=0.9.1
#tool nuget:?package=Endatix.Persistence.PostgreSql&version=0.9.1
Endatix.Persistence.PostgreSql
Adds support for using PostgreSQL database persistence with the Endatix Platform. This package is crucial for applications that require PostgreSQL as the primary database.
Endatix Platform is an open-source data collection and management library for .NET. It is designed for building secure, scalable, and integrated form-centric applications that work with SurveyJS. Endatix empowers business users with advanced workflows, automation, and meaningful insights.
Installation:
dotnet add package Endatix.Persistence.PostgreSql
More Information:
For detailed installation instructions, please visit Endatix Installation Guide.
Migrations Guide
Run the commands from the oss folder.
Always use Endatix.WebHost as startup project, and this provider-specific persistence project as migrations project.
Add migration
App entities (AppDbContext)
dotnet ef migrations add <MigrationName> \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context AppDbContext \
--output-dir Migrations/AppEntities
Identity entities (AppIdentityDbContext)
dotnet ef migrations add <MigrationName> \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context AppIdentityDbContext \
--output-dir Migrations/AppIdentity
Remove last migration
- First list your migrations with
dotnet ef migrations listto check if the migration you want to remove must be unapplied on your local DB
dotnet ef migrations list \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context <AppDbContext|AppIdentityDbContext>
- If required update to the migration via
dotnet ef database update
dotnet ef database update <PreviousMigrationName> \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context <AppDbContext|AppIdentityDbContext>
- Remove the last migration
dotnet ef migrations remove \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context <AppDbContext|AppIdentityDbContext>
Apply migrations
App entities (AppDbContext)
dotnet ef database update \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context AppDbContext
Identity entities (AppIdentityDbContext)
dotnet ef database update \
--startup-project src/Endatix.WebHost \
--project src/Endatix.Persistence.PostgreSql \
--context AppIdentityDbContext
Local PostgreSQL Setup
- Start PostgreSQL in Docker:
docker run --name postgres_db -e POSTGRES_PASSWORD=<MASTER_PASSWORD> -p 5432:5432 -d postgres
- Create a PostgreSQL login/user and database (for example via pgAdmin).
- Update
src/Endatix.WebHost/appsettings.Development.json:
"DefaultConnection": "Host=localhost;Database=endatix-db;Username=<PG_LOGIN>;Password=<PG_PASSWORD>",
"DefaultConnection_DbProvider": "PostgreSql"
| 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
- Endatix.Core (>= 0.9.1)
- Endatix.Framework (>= 0.9.1)
- Endatix.Infrastructure (>= 0.9.1)
- Endatix.Outbox.Engine (>= 1.2.0)
- FastEndpoints (>= 8.3.0)
- Microsoft.EntityFrameworkCore (>= 10.0.14)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Endatix.Persistence.PostgreSql:
| Package | Downloads |
|---|---|
|
Endatix.Hosting
Package Description |
|
|
Endatix.Extensions.Hosting
Provides useful extension methods and utilities for hosting the Endatix Platform. It simplifies the configuration and deployment. Endatix Platform is an open-source data collection and management library for .NET. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.2 | 169 | 11/18/2026 |
| 0.9.1 | 259 | 11/11/2026 |
| 0.9.0 | 525 | 10/28/2026 |
| 0.8.0 | 485 | 10/13/2026 |
| 0.7.8 | 160 | 10/2/2026 |
| 0.7.7 | 129 | 10/1/2026 |
| 0.7.6 | 266 | 9/9/2026 |
| 0.7.5 | 364 | 8/30/2026 |
| 0.7.4 | 192 | 8/26/2026 |
| 0.7.3 | 278 | 8/14/2026 |
| 0.7.2 | 260 | 7/31/2026 |
| 0.7.0 | 358 | 7/8/2026 |
| 0.6.0 | 856 | 2/16/2026 |
| 0.5.1 | 440 | 12/5/2025 |
| 0.5.0 | 247 | 11/28/2025 |
| 0.4.2 | 4,386 | 6/27/2025 |
| 0.4.1 | 249 | 5/9/2025 |
| 0.4.0 | 241 | 4/25/2025 |
| 0.3.0 | 268 | 3/27/2025 |
| 0.2.0 | 285 | 2/10/2025 |