1220 Commits

Author SHA1 Message Date
28810
7c42c67797 - 修复 MapType 属性的表达式解析 数组.Contains 得到是映射之前的值 bug;
- 修复 MapType 属性 与 IncludeMany 变异功能未映射处理的 bug;
2019-11-17 17:14:00 +08:00
28810
330eb40285 ## v0.11.18 2019-11-16 04:13:07 +08:00
28810
e26dbfe526 - 增加 DbContext、Repository SaveManyToMany 方法,实现手工保存 ManyToMany 关联数据; 2019-11-16 01:47:04 +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
24e2c098a4 - 增加 PostgreSQL 特有功能 On Conflict Do Update 功能; 2019-11-13 16:35:13 +08:00
28810
e0030b0c00 - 增加 PostgreSQL 特有功能 On Conflict Do Update 功能; 2019-11-13 16:21:30 +08:00
28810
b43f9b6688 update demo URL 2019-11-11 23:13:10 +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
e5289cc585 update readme 2019-11-07 12:51:58 +08:00
28810
d20b0689c2 更新说明 2019-11-07 12:48:40 +08:00
28810
8cc5a682da - 增加 FreeSql.Provider.Sqlite 对 Xamarin 环境下的适配; 2019-11-07 12:22:01 +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
9516131383 - 修复 MySql CodeFirst DateTime 同步结构条件判断的 bug,导致每次都执行 alter; 2019-11-05 10:27:48 +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
b331630954 - 修复 FreeSql.DbContext 析构方法的 bug,错误的回滚了外部 UnitOfWork; 2019-11-01 18:49:13 +08:00
28810
25d584ca39 FreeSql.DbContext 小版本 v0.11.4.2 2019-10-31 13:28:04 +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
f7633e9f67 - 增加 FreeSql.DbContext DbSet Remove 可根据 lambda 条件删除数据的方法; 2019-10-26 11:11:05 +08:00
28810
06fba16b4a update functions png 2019-10-24 02:29:49 +08:00
28810
3338c5806e update 2019-10-24 02:27:27 +08:00
28810
96893cbcd1 update 2019-10-24 02:26:48 +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
5b0b678c27 - 修改 MySql/SqlServer CodeFirst 同步结构 bug;
当表已存在后增加自增列时,产生的脚本不应该包含默认认设置
2019-10-23 21:05:50 +08:00
28810
6f4262751b ## v0.11.1 2019-10-23 12:51:51 +08:00
28810
cb55f51413 - 优化 FreeSql.DbContext 构造方法,方便注入使用; 2019-10-23 12:32:47 +08:00
28810
aaed0334b8 ## v0.10.15 (.Net Framework 4.0) 2019-10-21 15:21:26 +08:00