20 lines
530 B
C#
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));
|
|
}
|
|
}
|
|
}
|