YD_XinWei.Api/Server/YD_XinWei/Context/SmartSportsContext.cs
2025-01-14 16:11:31 +08:00

22 lines
632 B
C#

using Microsoft.EntityFrameworkCore;
using YD_XinWei.Api.Entitys;
using YD_XinWei.Api.SmartSportsEntitys;
namespace YD_XinWei.Api.Context
{
/// <summary>
/// 用户服务上下文
/// </summary>
public class SmartSportsContext : DbContext
{
public SmartSportsContext(DbContextOptions<SmartSportsContext> options) : base(options)
{
}
public DbSet<S_Class> Class { get; set; }
public DbSet<Sys_User> Sys_User { get; set; }
public DbSet<XW_ProjectMode> XW_ProjectMode { get; set; }
public DbSet<XW_TestingProject> XW_TestingProject { get; set; }
}
}