9 Commits

Author SHA1 Message Date
28810
5b0b678c27 - 修改 MySql/SqlServer CodeFirst 同步结构 bug;
当表已存在后增加自增列时,产生的脚本不应该包含默认认设置
2019-10-23 21:05:50 +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
78fded3f8e - 增加 IndexAttribute 特性,自动迁移索引,以及对应的 FluentApi 方法;
- 移除 ColumnAttribute.Unique 属性设置,改为 IndexAttribute 特性设置唯一键;
2019-10-03 04:31:04 +08:00
28810
6e75a8cebc - 增加 创建表时指定字段位置,如:[Column(Position = 1],可为负数即反方向位置; 2019-09-04 22:52:05 +08:00
28810
f8c3608fda 源代码改用vs默认格式化 2019-06-27 09:40:35 +08:00
28810
9e6b4fb52e 完成CodeFirst 根据代码注释,迁移到数据库备注 2019-06-17 12:04:31 +08:00
28810
5ce51bc310 codefirst 根据代码注释,迁移到数据库备注 2019-06-14 18:14:14 +08:00
28810
451b6c9769 - 增加 NavigateAttribute 配置导航关系;
- 修复 LinqToSql 方法,开启自动迁移时,迁移了无关类的 bug;
- 修复 Oracle DbFirst date(7) 类型未处理的 bug;#57
- 修复 AsSelect().Any() 未给其他条件时,产生 null bug;
- 增加 FreeSql.Extensions.LazyLoading 对 .net 4.5 的支持;
- 优化 MySql CodeFirst 增加 DateTime 迁移后,默认值为 0000-00-00 导致读取失败的 bug;
- 优化 LazyLoading 友好错误提示;
2019-05-31 20:30:09 +08:00
28810
f8e897e201 拆分 FreeSql 按需引用 2019-05-28 21:32:54 +08:00