28810
46f290ca2b
- 优化 FreeSqlBuilder 处理 MaxLength 特性的容器处理;
2019-10-16 15:03:30 +08:00
28810
d7877924a5
- 调整 DbContext.EntityChangeInfo 类名为 DbContext.EntityChangeReport.ChangeInfo;
...
- 调整 IUnitOfWork 接口,移除 OnEntityChange 属性,增加 EntityChangeReport 属性;
2019-10-15 19:18:31 +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
c2ec5a34b1
- 优化 ORACLE Command 绑定变量 BindByName = true;#107
2019-10-09 17:23:19 +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
00147be176
- 修复 PostgreSQL DbFirst 获取字段类型的时候,没有拼得字符串的长度(如 varchar(255));
2019-10-09 01:07:46 +08:00
28810
731518c023
v0.10.9
2019-10-09 00:13:16 +08:00
28810
47b8cd6d9a
- 修复 DbFirst 当表数量过大时(如 oracle 表数量大于 1000),可能报错的 bug;
2019-10-08 23:58:10 +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
28810
2b72c849d9
v0.10.7, - 调整 Insert<T1>(IEnumerable<T1> source) 参数类型改成了 List;
2019-10-06 12:32:32 +08:00
28810
78fded3f8e
- 增加 IndexAttribute 特性,自动迁移索引,以及对应的 FluentApi 方法;
...
- 移除 ColumnAttribute.Unique 属性设置,改为 IndexAttribute 特性设置唯一键;
2019-10-03 04:31:04 +08:00
28810
cb18b74830
v0.10.6
2019-09-29 19:11:58 +08:00
28810
5a8188739c
- 优化 DbContext/Repository ManyToMany联级保存功能,当是新增数据时不查询中间表记录对比差异(直接插入);
2019-09-29 19:06:31 +08:00
28810
da24b9f8e4
v0.10.5
2019-09-29 15:54:55 +08:00
28810
33cb3e2dae
- 增加 DbContext/Repository ManyToMany联级保存功能(之前已支持OneToMany);
2019-09-29 15:02:08 +08:00
28810
7514000490
更新错误的命名 #103
2019-09-27 12:43:43 +08:00
28810
e46ec8742e
v0.10.4 #99
2019-09-26 15:47:42 +08:00
28810
6ca226a8e4
- 增加 ColumnAttribute 可插入(CanInsert)、可更新(CanUpdate);#99
2019-09-26 15:45:40 +08:00
28810
d4c766e0b6
v0.10.3 #96
2019-09-26 12:34:08 +08:00
28810
c747d39db8
- 增加 NavigateAttribute 特性对应的 Fluent 功能;#96
2019-09-26 11:51:50 +08:00
28810
31a42e750e
update nuget packages version
2019-09-26 08:03:07 +08:00
28810
574b3242c1
v0.10.2
2019-09-24 21:58:14 +08:00
28810
0a3e173662
- 修复 Pgsql string[] 属性表达式 Contains 缺少类型转换的 SQL 语法错误;
2019-09-24 21:54:43 +08:00
28810
bd83f67b7b
v0.10.1
2019-09-23 22:03:12 +08:00
28810
5acf0b9eb4
- 优化 IUpdate.IgnoreColumns/UpdateColumns 可对属性名,或字段名做设置;#95
2019-09-23 21:58:30 +08:00
28810
17913a584d
update tests
2019-09-21 23:32:23 +08:00
28810
7c281ce004
- 优化 忽略 List\<T\> 作为 Curd 类型操作;
2019-09-21 23:19:37 +08:00
28810
c55d76d3ed
update doc
2019-09-21 01:18:20 +08:00
28810
edf6e1caa2
update
2019-09-21 01:14:00 +08:00
28810
4426488272
update
2019-09-21 01:05:36 +08:00
28810
cedbf2abd8
update
2019-09-21 00:55:00 +08:00
28810
dcf1da36d4
## v0.9.18
...
- 增加 PostgreSQL 的 Odbc 访问提供,相比 FreeSql.Provider.PostgreSQL 支持的类型更少;
- 增加 通用的 Odbc 访问提供,不能迁移实体到数据库,不能 Skip 这样来分页,理论上能 crud 所有 odbc 数据库;
2019-09-21 00:48:34 +08:00
28810
90458cca38
update readme
2019-09-20 15:08:37 +08:00
2881099
36527f4b08
Merge pull request #91 from 2881099/v0.9.17
...
update
2019-09-19 23:51:58 +08:00
28810
dcd406d06a
update
2019-09-19 23:26:59 +08:00
28810
61dfa6fc6a
update
2019-09-19 23:21:53 +08:00
28810
f434418b2c
## v0.9.17 (ODBC)
...
- 增加 FreeSql.Provider.Odbc,实现 Oracle/SqlServer/MySql 的 Odbc 访问提供;
- 增加 FreeSqlBuilder.UseConnectionString 参数 providerType,可解决因包版本冲突时,可能无法反射获得 FreeSql.Provider 对应的类型,通常这个参数不需要设置;
- 优化 MaxLength 特性,当指定为 -1 时 DbType 会分别映射类型 text/nvarchar(max)/nvarchar2(4000);
2019-09-19 23:14:30 +08:00
28810
8d92ccd751
## v0.9.16
...
- 增加 BaseRepository.AttachOnlyPrimary 方法,只附加实体的主键值;
> 在更新前使用可实现不查询数据库再更新、也可以实现更新时不更新值为 null 的字段
```csharp
class T {
public int id { get; set; }
public string name { get; set; }
public string other { get; set; }
}
var item = new T { id = 1, name = "xx" };
fsql.GetRepository<T>().AttachOnlyPrimary(item).Update(item); //只更新 name
```
- 修复 Lambda 表达式中 DateTime.Now.ToString("yyyyMMdd") 不能直接执行的 bug;
2019-09-18 16:58:13 +08:00
28810
52450dc08a
update newman
2019-09-17 10:01:01 +08:00
28810
9a95b2fafd
update
2019-09-17 10:00:01 +08:00
28810
d0fff882c8
update
2019-09-14 22:56:55 +08:00