mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-14 10:28:21 -05:00
17 lines
617 B
C#
17 lines
617 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; }
|
|
}
|
|
}
|