Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Repository/DataContext.cs
2022-04-24 16:44:16 +08:00

17 lines
390 B
C#

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