16 lines
384 B
C#
16 lines
384 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using GameServer.Models;
|
|
|
|
namespace GameServer.Data
|
|
{
|
|
public class AppDbContext : DbContext
|
|
{
|
|
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
|
|
{
|
|
|
|
}
|
|
public DbSet<UserCharacterModel> UserCharacters { get; set; }
|
|
public DbSet<CharacterModel> Characters { get; set; }
|
|
}
|
|
}
|