mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
17 lines
389 B
C#
17 lines
389 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, BaseModelEntity, new()
|
|
{
|
|
public DataContext(ISqlSugarClient context) : base(context)
|
|
{
|
|
Db =base.Context;
|
|
}
|
|
|
|
public ISqlSugarClient Db;
|
|
}
|
|
}
|