2️⃣2⃣ Database Options
See which Databases you can use and the configuration options needed
dotnet add package TCDev.APIGenerator.Data.SQL
dotnet add package TCDev.APIGenerator.Data.Postgres
dotnet add package TCDev.APIGenerator.Data.SQLite.AddDataContextSQL()
or
.AddDataContextSQLite
etc.. "Database": {
"DatabaseType": "SQL",
"Connection": "Server=localhost;database=123123123;user=sa;password=Password!23;"
}app.UseAutomaticApiMigrations(true);
while true or false defines wether destructive migrations
are allowed that could lead to data loss!Last updated