Skip to content

Database Scaffolding

Machriam edited this page Apr 19, 2024 · 1 revision

Scaffold-DbContext "Host=localhost;Port=5432;Username=postgres;Database=postgres;Password=bla" Npgsql.EntityFrameworkCore.PostgreSQL -NoOnConfiguring -OutputDir ../Plantmonitor.DataModel/DataModel -Force -Context DataContext -Namespace Plantmonitor.DataModel.DataModel -StartupProject Plantmonitor.DataModel -Project Plantmonitor.DataModel

Clone this wiki locally