Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Repository/DataContext.cs
2022-04-06 22:22:45 +08:00

16 lines
339 B
C#

using SqlSugar;
using Yi.Framework.Common.Models;
namespace Yi.Framework.Repository
{
public class DataContext<T> : SimpleClient<T> where T : class, new()
{
public DataContext(ISqlSugarClient context) : base(context)
{
Db =base.Context;
}
public ISqlSugarClient Db;
}
}