2023-11-16 12:06:36 +01:00
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
2023-10-12 09:15:34 +02:00
|
|
|
namespace Server.DB;
|
2023-08-10 10:47:35 +02:00
|
|
|
|
2023-08-12 23:02:59 +02:00
|
|
|
using Documents;
|
2023-08-14 13:49:27 +02:00
|
|
|
using Microsoft.EntityFrameworkCore;
|
2023-08-10 10:47:35 +02:00
|
|
|
|
2023-08-14 13:49:27 +02:00
|
|
|
public class WonderkingContext : DbContext
|
2023-08-10 10:47:35 +02:00
|
|
|
{
|
2023-11-16 12:06:36 +01:00
|
|
|
public WonderkingContext([NotNull] DbContextOptions options) : base(options)
|
2023-08-10 10:47:35 +02:00
|
|
|
{
|
|
|
|
}
|
2023-08-12 23:02:59 +02:00
|
|
|
|
2023-08-14 21:30:32 +02:00
|
|
|
public DbSet<Account> Accounts { get; set; }
|
2023-08-14 22:30:35 +02:00
|
|
|
public DbSet<Character> Characters { get; set; }
|
2023-08-11 11:31:30 +02:00
|
|
|
}
|