1203 Commits

Author SHA1 Message Date
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
28810
0d761e02de update 2019-09-14 22:55:13 +08:00
28810
f62625f14d update 2019-09-14 22:54:45 +08:00
28810
79b45b39fd update 2019-09-14 22:51:19 +08:00
28810
f43b740392 update readme 2019-09-14 22:49:24 +08:00
28810
8ad9198f0e update logo url 2019-09-13 00:44:40 +08:00
28810
1202cfc621 update logo 2019-09-13 00:24:15 +08:00
28810
f7cf28b796 Merge branch 'master' of https://github.com/2881099/FreeSql 2019-09-13 00:23:59 +08:00
28810
62a095df8f v0.9.13
- 增加 FreeSql.Extensions.JsonMap 扩展包,实现快速将对象映射为json字符串的方法;
- 优化 表达式解析未实现的错误提醒,如 $"";
2019-09-13 00:23:52 +08:00
2881099
aa832ba17a
update logo 2019-09-12 22:13:15 +08:00
28810
8520008b82 v0.9.12 2019-09-11 20:47:06 +08:00
28810
bddcf9c0bc - 增加 MaxLength 特性的解析,实体字符串长度设置; 2019-09-11 20:40:52 +08:00
28810
96bf97bb7f v0.9.11 2019-09-10 16:06:15 +08:00
28810
564e1951d8 - 增加 ISelect.ToChunk 实现分块查询数据,减少数据过大时内存占用; 2019-09-10 16:01:01 +08:00
28810
e0a23accb0 v0.9.10 #89 2019-09-10 09:29:12 +08:00