1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-11-14 10:28:21 -05:00
MyMcRealms/Minecraft-Realms-Emulator/Data/DataContext.cs

17 lines
617 B
C#
Raw Normal View History

2024-04-20 03:20:30 -04:00
using Microsoft.EntityFrameworkCore;
using Minecraft_Realms_Emulator.Entities;
namespace Minecraft_Realms_Emulator.Data
{
public class DataContext(DbContextOptions<DataContext> options) : DbContext(options)
{
public DbSet<World> Worlds { get; set; }
public DbSet<Subscription> Subscriptions { get; set; }
public DbSet<Connection> Connections { get; set; }
public DbSet<Backup> Backups { get; set; }
public DbSet<Invite> Invites { get; set; }
public DbSet<Player> Players { get; set; }
public DbSet<Configuration> Configuration { get; set; }
}
}