mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-06-28 17:39:42 -04:00
Import from Github
This commit is contained in:
16
Minecraft-Realms-Emulator/Data/DataContext.cs
Normal file
16
Minecraft-Realms-Emulator/Data/DataContext.cs
Normal file
@ -0,0 +1,16 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user