mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2025-04-02 14:08:36 -04:00
19 lines
719 B
C#
19 lines
719 B
C#
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; }
|
|
public DbSet<Slot> Slots { get; set; }
|
|
public DbSet<Template> Templates { get; set; }
|
|
}
|
|
}
|