En första justering , det fanns många referenser kvar till GreadyPoang...

This commit is contained in:
2025-10-11 08:45:09 +02:00
parent 5d1e7858f2
commit 18f0dc566b
96 changed files with 239 additions and 236 deletions

View File

@ -1,4 +1,4 @@
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Hosting; // Replace with your actual namespace
@ -22,12 +22,12 @@ class Program
.ConfigureServices((_, services) =>
{
var MauiDataPath = string.Empty;
MauiDataPath = File.ReadAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_GreadyPoang.txt"));
MauiDataPath = File.ReadAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_Gready_Poang.txt"));
var dbPath = Path.Combine(MauiDataPath, "PoangDB.db");
services.AddDbContext<DataContext>(options =>
options.UseSqlite($"Data Source={dbPath}"));
});
}
// dotnet ef migrations add FixHeatToRoundParams --project GreadyPoang.DataLayer --startup-project GreadyPoang.Migrations
// dotnet ef database update --project GreadyPoang.DataLayer --startup-project GreadyPoang.Migrations
// dotnet ef migrations add FixHeatToRoundParams --project Gready_Poang.DataLayer --startup-project Gready_Poang.Migrations
// dotnet ef database update --project Gready_Poang.DataLayer --startup-project Gready_Poang.Migrations