Files
2025-10-09 13:58:21 +08:00

20 lines
530 B
C#

using KingInfoWebApi.Core.DBManager;
using KingInfoWebApi.Core.Extensions.AutofacManager;
using KingInfoWebApi.Entity.SystemModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using KingInfoWebApi.Core.DbSqlSugar;
namespace KingInfoWebApi.Core.EFDbContext
{
public class TestDbContext : BaseDbContext, IDependency
{
public TestDbContext() : base() {
base.SqlSugarClient = DbManger.GetConnection(nameof(TestDbContext));
}
}
}