Endatix.Persistence.PostgreSql
0.2.0
dotnet add package Endatix.Persistence.PostgreSql --version 0.2.0
NuGet\Install-Package Endatix.Persistence.PostgreSql -Version 0.2.0
<PackageReference Include="Endatix.Persistence.PostgreSql" Version="0.2.0" />
paket add Endatix.Persistence.PostgreSql --version 0.2.0
#r "nuget: Endatix.Persistence.PostgreSql, 0.2.0"
// Install Endatix.Persistence.PostgreSql as a Cake Addin #addin nuget:?package=Endatix.Persistence.PostgreSql&version=0.2.0 // Install Endatix.Persistence.PostgreSql as a Cake Tool #tool nuget:?package=Endatix.Persistence.PostgreSql&version=0.2.0
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.
[!TIP] 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
Recommended Usage:
For running and hosting the Endatix Platform, Endatix.Api.Host is the recommended main package as it simplifies the installation and setup process.
dotnet add package Endatix.Api.Host
More Information:
For detailed installation instructions, please visit Endatix Installation Guide.
Generating Migrations
[!NOTE] Please note to change the name of the migration for the respective context. This KB is WIP and is subject to change as the process evolves to simplify migrations tooling and process
For AppDbContext Entities
dotnet ef migrations add InitialEntities --startup-project src/Endatix.WebHost --project src/Endatix.Persistence.PostgreSql --context AppDbContext --output-dir Migrations/AppEntities
For AppIdentityDbContext Entities
dotnet ef migrations add InitialIdentity --startup-project src/Endatix.WebHost --project src/Endatix.Persistence.PostgreSql --context AppIdentityDbContext --output-dir Migrations/AppIdentity
Setup
- Create Postgres in Docker -
docker run --name postgres_db -e POSTGRES_PASSWORD=[YOUR_MASTER_PASSWORD] -p 5432:5432 -d postgres
- Install pgAdmin link here. You can also add with Docker
- Create Postgres Login using the pgAdmin
- Update appSettings.Development.json by adding this connection string
"DefaultConnection": "Host=localhost; Database=endatix-db; Username=[YOUR_PG_LOGIN]; Password=[YOUR_PG_PASSWORD]"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- Endatix.Infrastructure (>= 0.2.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Endatix.Persistence.PostgreSql:
Package | Downloads |
---|---|
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.2.0 | 85 | 2/10/2025 |