1018 Commits

Author SHA1 Message Date
28810
330eb40285 ## v0.11.18 2019-11-16 04:13:07 +08:00
28810
0f7dd75e64 ## v0.11.15 2019-11-16 00:16:18 +08:00
28810
6c1d532d09 - 优化 ManyToMany 中间表不需要指明 [Column(IsPrimary = true)] 特性; 2019-11-16 00:10:04 +08:00
28810
9f7d8cbdc9 ## v0.11.13 2019-11-15 16:57:00 +08:00
28810
17241be66d debug UnitOfWork Destructor #131 2019-11-15 16:36:34 +08:00
28810
7d1f9b126f debug Destructor #131 2019-11-15 13:25:14 +08:00
28810
6a606a82af ## v0.11.12 #119 2019-11-13 20:25:43 +08:00
28810
b5efb387bd - 完善 所有参数化 object parms 可使用 IDictionary 类型传入; 2019-11-13 20:21:49 +08:00
28810
dda7c8bc9c - 增加 AsTable 和 Repository 分表时的自动迁移分表功能;
- 增加 ICodeFirst.SyncStructure(Type entityType, string tableName) 指定表名来迁移实体;
```csharp
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_1"); //迁移到 Log_1 表
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_2"); //迁移到 Log_2 表
```
2019-11-13 19:57:44 +08:00
28810
79ad890a62 ##0.11.11 #128 2019-11-11 22:12:44 +08:00
28810
be77060ea8 - 增加 MySql 特有功能 On Duplicate Key Update 功能; 2019-11-11 22:08:21 +08:00
28810
f2cb3bd5fe - 修复 ISelect .From 方法之前使用 .Include 方法,导致生成的多表 JOIN 位置错误的 bug;#128 2019-11-10 20:53:39 +08:00
28810
08bd86ae40 new 重新属性的反射优化 2019-11-10 19:13:03 +08:00
28810
8a9a50ecb7 - 优化 实体类重写属性 new 如果类型与基类不一致,无法使用的问题; 2019-11-10 12:18:16 +08:00
28810
5ce037d316 修正内部命名 2019-11-08 13:03:54 +08:00
28810
d20b0689c2 更新说明 2019-11-07 12:48:40 +08:00
28810
5521d6d100 ## v0.11.9 2019-11-07 02:41:51 +08:00
28810
8ec8daa6be - 增加 FreeSql.Provider.Sqlite 对 Xamarin 环境下的适配; 2019-11-07 02:33:27 +08:00
28810
13810c4422 ## v0.11.8 2019-11-07 00:17:11 +08:00
28810
35a663f5ef 补充 ToList 注释 2019-11-06 16:45:29 +08:00
28810
28dfd78260 ## v0.11.7 2019-11-06 14:00:50 +08:00
28810
0c341360b7 - 增加 SqlServer ISelect.WithLock 扩展方法,实现 with(nolock) 查询;
- 增加 SqlServer IFreeSql.SetGlobalSelectWithLock 扩展方法,实现全局设置 with(nock) 查询;
- 移除 Aop.ToList;
- 移除 Aop.Where;
2019-11-06 13:58:19 +08:00
28810
a18041e69f ## v0.11.6 2019-11-04 13:03:36 +08:00
28810
ed2a1e3bd3 - 调整 ToList(a => new Dto { id = 1, title = a.xx.Title}),之前只映射 id、title,现在是先映射 Dto 所有属性,再映射 id、title; 2019-11-04 13:01:52 +08:00
28810
5518a717ed ## v0.11.5 2019-11-01 18:50:35 +08:00
28810
bf5b1034ae ## v0.11.4 2019-10-30 20:40:28 +08:00
28810
21b4b0d5d3 - 增加 ISelect ToDelete/ToUpdate 方法,实现更复杂的删除/更新操作; 2019-10-30 20:35:42 +08:00
28810
db7fe82403 - 移除 IUpdate/IDelete WhereExists 方法; 2019-10-30 18:00:13 +08:00
28810
687db9ed71 ## v0.11.3 2019-10-29 09:57:21 +08:00
28810
97351a4e6e - 优化 Aop.AuditValue 审计过的值,IUpdate.UpdateColumns 即使不指定该列也会更新; 2019-10-29 09:55:54 +08:00
28810
23f60732e0 ## v0.11.2 2019-10-24 02:19:03 +08:00
28810
b97156b482 - 增加 IFreeSql.GlobalFilter 全局过滤器;
- 移除 TableAttribute.SelectFilter 功能;
2019-10-24 02:17:22 +08:00
28810
6f4262751b ## v0.11.1 2019-10-23 12:51:51 +08:00
28810
aaed0334b8 ## v0.10.15 (.Net Framework 4.0) 2019-10-21 15:21:26 +08:00
28810
de8cf9e17d - 增加 .Net Framework 4.0 的支持,出于环境考虑 .Net Framework 4.0 不支持异步方法;
- 增加 IFreeSql.Insert<T>(IEnumerable<T1> source) 方法;
2019-10-21 15:14:18 +08:00
28810
635245d3cd v0.10.14 2019-10-16 15:04:47 +08:00
28810
46f290ca2b - 优化 FreeSqlBuilder 处理 MaxLength 特性的容器处理; 2019-10-16 15:03:30 +08:00
28810
375ba5f3cb ## v0.10.13 2019-10-14 13:45:08 +08:00
28810
615023f012 - 修复 postgresql 12 移除 pg_attrdef.adsrc 列,导致 CodeFirst 方法失败的 bug;
- 增加 Aop.ConfigEntity 属性 ModifyIndexResult 现实 IndexAttribute 的设置;
2019-10-14 13:21:47 +08:00
28810
0485a22a5c 0.10.12 2019-10-12 01:05:51 +08:00
28810
e823f9dcd0 - 增加 FreeSql.DbContext 实体对象的变化事件;
> 文档:https://github.com/2881099/FreeSql/wiki/DbContext#%E5%AE%9E%E4%BD%93%E5%8F%98%E5%8C%96%E4%BA%8B%E4%BB%B6
- 补充 Aop.CurdBefore 事件参数 Table 实体类型的元数据;
2019-10-12 01:02:42 +08:00
28810
9a8d51da50 v0.10.11 #107 2019-10-09 22:26:42 +08:00
28810
741c558d91 - 续上优化 Enum 默认值容错 2019-10-09 16:58:33 +08:00
28810
1f2d4abdc7 - 优化 枚举属性的默认值容错,枚举下标不存在 0 的时候,mysql 迁移结构默认值报错; 2019-10-09 16:56:24 +08:00
28810
236d03f98c v0.10.10 2019-10-09 01:09:19 +08:00
28810
731518c023 v0.10.9 2019-10-09 00:13:16 +08:00
28810
dde6562ef8 v0.10.8 #105 #106 2019-10-08 15:45:32 +08:00
28810
cf0dfae545 - 修复 FreeSql.DbContext/FreeSql.Repository 当主键为 Guid? 可空类型时,发生参数错误;#105 #106
> System.ArgumentException:“Expression of type 'System.Guid' cannot be used for assignment to type 'System.Nullable`1[System.Guid]'”
2019-10-08 15:43:34 +08:00
28810
fa48170041 代码类文件移动(不影响功能) 2019-10-08 00:43:03 +08:00
28810
53d4332bc5 - 增加 List\<T1\> 扩展方法 IncludeMany,实现从已知的内存 List 数据,进行和 ISelect.IncludeMany 相同功能的贪婪加载; 2019-10-07 21:14:18 +08:00