Implemetato databese locale con EntityFramework

This commit is contained in:
2026-02-17 17:40:33 +01:00
parent 544c9e8237
commit e7357bd78a
45 changed files with 989 additions and 119 deletions

View File

@@ -0,0 +1,17 @@
using Microsoft.Maui.Storage;
namespace SteUp.Data.LocalDb;
public interface IDbPathProvider
{
string GetDbPath();
}
public class DbPathProvider : IDbPathProvider
{
private const string DbName = "steup_db.db3";
public string GetDbPath() =>
Path.Combine(FileSystem.AppDataDirectory, DbName);
}