continuity/Server/DB/WonderkingContext.cs

17 lines
465 B
C#

using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Server.DB.Documents;
namespace Server.DB;
public class WonderkingContext : DbContext
{
public WonderkingContext([NotNull] DbContextOptions options) : base(options)
{
}
public DbSet<Account> Accounts { get; set; }
public DbSet<Character> Characters { get; set; }
public DbSet<InventoryItem> InventoryItems { get; set; }
public DbSet<Guild> Guilds { get; set; }
}