168 Commits

Author SHA1 Message Date
2881099
ec2fcfb419 v0.1.14
- 增加 延时属性编译错误信息;
- 优化 FreeSql.Repository Autofac 泛型注入;
2019-03-10 21:23:06 +08:00
28810
428220e754 ## v0.1.13
- 修改 连接池内部 Ping Timeout 值暂定 5秒;
- 优化 初始化时若数据库超时,则放弃预热;
- FreeSql.Repository 下增加 ISelect.FromRepository 扩展方法,实现分表的多表查询;
- 增加 FreeSql.Repository Autofac 泛型注入,可利用实现全局过滤+分表分库;
- 补充 GuidRepository 插入数据时,根据 filter 参数设定进行数据验证;
2019-03-09 02:58:23 +08:00
28810
167c64c7f1 v0.0.12 2019-03-07 19:48:01 +08:00
28810
e66bca2fe7 v0.0.11 实现分表 2019-03-05 22:16:44 +08:00
28810
90f69f1b57 FreeSql ISelect/IUpdate/IInsert/IDelete 增加 AsTable 方法,实现分表 2019-03-05 21:04:52 +08:00
28810
45ba67ed15 v0.1.10
- 修复 FreeSql.Repository GuidRepository/GetGuidRepository 缓存 bug;
- 修复 Lazy 延时加载在 linux 发布后产生 Bad IL Format bug;
2019-03-05 14:42:51 +08:00
28810
a189b6abba - 优化插入判断主键,且为 Guid/Guid? 类型,并且值为 null/Guid.Empty 时,将插入的值变为 FreeUtil.NewMongodbId() 2019-03-04 20:45:19 +08:00
28810
a2a3bb62d2 文字错误更正 2019-03-04 11:22:52 +08:00
28810
30385d2e91 - FreeSql.Repository 增加 filter 参数,现实数据过滤 + 验证;
如:var postRepos = fsql.GetGuidRepository<Post>(a => a.TopicId == 1); postRepos CURD 方法都会以 lambad 条件作为查询或验证,Update/Insert验证错误时会抛出异常。
- ISelect 增加 First/FirstAsync;
2019-03-02 20:46:26 +08:00
28810
a2f4a8bcd8 修复 外部配置实体ConfigEntity 与 延时加载 冲突产生的 bug 2019-03-02 09:45:16 +08:00
28810
8e4d3c03a5 优化 FreeSql.Repository 使用方法 2019-02-28 20:38:26 +08:00
28810
f034d4194d v0.1.5
- 增加 IsSyncStructureToUpper 参数,以便适应 Oracle 大小写使用习惯;
- FreeSql.Repository 增加 GuidRepository 类,适用 Insert 方法无须返回插入的数据;
- FreeSql.Repository 增加 IFreeSql 扩展方法 GetRepository、GetGuidRepository;
2019-02-28 17:31:04 +08:00
28810
a3720bf81e v0.1.4 判断 SqlServer 服务器版本,选择分页模式 row_number 或 offset fetch next; 2019-02-27 19:16:26 +08:00
28810
9d87c69fb2 v0.1.3 2019-02-25 10:12:33 +08:00
28810
fb1871e558 ICodeFirst add GetConfigEntity 2019-02-22 09:16:07 +08:00
28810
ae347d4b04 v0.1.1 增加选项 IsQuoteSqlName 控制是否使用 [] 或 "" 或 `` 包含数据库名称 #6 2019-02-21 11:22:21 +08:00
28810
204ab9f7d8 v0.1.0 & FreeSql.Repository 2019-02-20 17:28:51 +08:00
28810
fb2fee33a3 add examples repository_01 2019-02-18 14:36:31 +08:00