11 2020 档案

摘要:1.模仿groupjoin中的方法在ISugarQueryable增加两个接口 ISugarQueryable<T> Mapper<TObject>(Expression<Func<T, TObject>> mapperObject, Expression<Func<T, object>> main 阅读全文
posted @ 2020-11-06 21:47 liuliyang 阅读(2321) 评论(0) 推荐(0)
摘要:1、查询当前月和前一个月的数据 添加一个扩展方法AddMonth public static ISugarQueryable<T> AddMonth<T>(this ISugarQueryable<T> queryable, int month = -1, DateTime? date = null 阅读全文
posted @ 2020-11-02 13:34 liuliyang 阅读(1968) 评论(0) 推荐(0)
摘要:1.查看其它接口发现少了一个最重要的SaveBuilder。此文件是存放sql模板,where条件,select解析,组装成tosqlstring的最后一个类。 添加文件 using System; using System.Collections.Generic; using System.Lin 阅读全文
posted @ 2020-11-02 10:51 liuliyang 阅读(821) 评论(0) 推荐(0)