using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace net.nehmer.sa.Model;
public class StarsDatabase(string DbPath) : DbContext
{
#region Configuration and Construction
public string DbPath { get; } = DbPath;
///
/// Configure for SQLite and set the DB Path given.
///
/// Options to update
protected override void OnConfiguring(DbContextOptionsBuilder options)
=> options.UseSqlite($"Data Source={DbPath}");
#endregion
#region Entities
///
/// List of all Planets read.
///
public DbSet Planets { get; set; }
#endregion
}