Semantico.Core.PostgreSql
2.0.7.1
dotnet add package Semantico.Core.PostgreSql --version 2.0.7.1
NuGet\Install-Package Semantico.Core.PostgreSql -Version 2.0.7.1
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="Semantico.Core.PostgreSql" Version="2.0.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Semantico.Core.PostgreSql" Version="2.0.7.1" />
<PackageReference Include="Semantico.Core.PostgreSql" />
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 Semantico.Core.PostgreSql --version 2.0.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Semantico.Core.PostgreSql, 2.0.7.1"
#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 Semantico.Core.PostgreSql@2.0.7.1
#: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=Semantico.Core.PostgreSql&version=2.0.7.1
#tool nuget:?package=Semantico.Core.PostgreSql&version=2.0.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Semantico.Core.PostgreSql
PostgreSQL database provider for Semantico.
Overview
This package provides Entity Framework Core configuration and migrations for using PostgreSQL as the Semantico metadata database. It includes snake_case naming conventions and full support for PostgreSQL-specific features.
Installation
dotnet add package Semantico.Core.PostgreSql
dotnet add package Semantico.UI.AspNet
Quick Start
1. Configure in Program.cs
using Semantico.Core.PostgreSql;
using Semantico.UI.AspNet;
builder.Services.AddPostgreSqlSemantico(
builder.Configuration.GetConnectionString("SemanticoContext")!,
schema: "semantico");
builder.Services.AddSemanticoAdmin(builder.Configuration, options =>
{
options.AddSemanticoScheduler<YourScheduler>();
options.BaseUrl = "https://your-domain.com/semantico";
});
app.UseSemanticoUI()
.UseBasicAuthentication("admin", "admin")
.AddBlazorUI("/semantico");
// Run migrations
ServiceConfiguration.UseSemantico(app.Services);
2. Add Connection String
In appsettings.json:
{
"ConnectionStrings": {
"SemanticoContext": "Host=localhost;Database=semantico;Username=postgres;Password=yourpassword"
}
}
Features
- PostgreSQL 12+ support
- Entity Framework Core integration
- Automatic schema creation and migrations
- Snake_case naming conventions
- Multi-tenant support via schema isolation
Database Setup
CREATE DATABASE semantico;
CREATE SCHEMA semantico;
GRANT ALL ON SCHEMA semantico TO postgres;
Documentation
License
MIT License - see LICENSE
| 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. net10.0 was computed. 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.
-
net9.0
- EFCore.NamingConventions (>= 9.0.0)
- Npgsql (>= 9.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Semantico.Core (>= 2.0.7.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.