Anyway, I added an initial dialog box to get a new log entry in. It needs work, and I do believe I am going to abstract that a bit more to have a single class to handle the dialogs to centralize things a bit and minimize repeating code. I know, a class for a class, so I need to think a bit more on it.
Getting my head wrapped back around C# after more than a year of Filemaker is interesting...
TravellerContext:
using Microsoft.EntityFrameworkCore;
using Traveller.Models;
namespace TravellerTracker.Models
{
public class TravellerContext : DbContext
{
public DbSet
public DbSet
public DbSet
public DbSet
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
try
{
optionsBuilder.UseSqlite("Data Source=TravellerTracker.db");
}
catch (System.Exception ex)
{
var a = ex;
throw;
}
}
}
}