using FAuth.DataBase.Tables;
using Microsoft.EntityFrameworkCore;
namespace FAuth.DataBase
{
///
/// 数据库
///
public class FAuthDb:DbContext
{
public FAuthDb(DbContextOptions options) : base(options) {
Database.EnsureCreatedAsync().Wait();
}
///
/// 用户表
///
public DbSet Users { get; set; }
}
}