Skip to content

Releases: zqlovejyc/SQLBuilder

2.3.6

12 Sep 03:52
Compare
Choose a tag to compare

1.引入FastMember,替换原有的反射调用;
2.优化GetColumnInfo、GetPrimaryKey;
3.优化ToEntities、ToLists;
4.新增TryGetValue、TryGetOrAdd、ContainsKey、ToEntity字典扩展方法;
5.优化列信息获取,添加内存缓存;
6.支持Where表达式中HashSet写法解析;
7.升级nuget包;

2.3.5

15 May 09:55
Compare
Choose a tag to compare

1.优化WHERE是否包含判断;
2.新增SubstringIgnoreCase扩展方法;
3.优化字符串忽略大小写相等比较;
4.优化null空值判断,修复WhereIf参数Expression<T,bool>为null时引发的空异常bug;

2.3.4

14 May 01:11
Compare
Choose a tag to compare

1.修复数据库类型为PostgreSql时,解析bool类型条件时,解析为1的bug;
2.优化Mysql数据库bool类型sql解析;

2.3.3

07 May 09:12
Compare
Choose a tag to compare

1.优化Substring扩展,添加comparisonType参数;
2.重载Contains、ContainsIgnoreCase扩展方法,添加MatchType匹配类型参数;
3.重载ToLambda扩展方法,优化ToObject扩展方法,修复Guid类型数据解析异常bug;
4.升级nuget包;

2.3.2

04 Apr 07:07
Compare
Choose a tag to compare

1.优化SqlBuilderCore部分属性;
2.优化GetKeyWordIndex;
3.优化字典初始化和取值判断;
4.移除OracleColumnAttribute和Oracle插入更新扩展,采用DataTypeAttribute特性进行替代即可;
5.优化GetColumnInfo和GetPrimaryKey返回类型;
6.KeyAttribute特性新增OracleSequenceName;
7.重载仓储Insert,支持返回自增主键值;

2.3.1

29 Mar 13:37
Compare
Choose a tag to compare

1.新增DataType特性,允许自定义表实体单个字段数据库类型;
2.优化仓储Dispose方法;

2.3.0

25 Mar 03:44
Compare
Choose a tag to compare

1.重命名AddSqlBuilder -> RegisterSqlBuilder,使其更符合Autofac的命名风格;
2.新增ToJson扩展方法;
3.新增自定义SqlBuilder日志诊断订阅扩展;

2.2.9

24 Mar 07:10
Compare
Choose a tag to compare

1.新增Autofac扩展类,添加AddSqlBuilder扩展方法;

2.2.8

24 Mar 04:27
Compare
Choose a tag to compare

1.优化仓储Any方法内部sql实现;

2.2.7

21 Mar 05:33
Compare
Choose a tag to compare

1.优化select单表sql解析,移除单表表别名;
2.count解析支持多表连接查询;