mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
16 lines
447 B
C#
16 lines
447 B
C#
using Artemis.Storage.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Artemis.Storage
|
|
{
|
|
public class StorageContext : DbContext
|
|
{
|
|
public DbSet<ProfileEntity> Profiles { get; set; }
|
|
public DbSet<SettingEntity> Settings { get; set; }
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
{
|
|
optionsBuilder.UseSqlite("Data Source=Storage.db");
|
|
}
|
|
}
|
|
} |