mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-04 07:20:51 +08:00
update
5
实体特性.md
5
实体特性.md
@@ -73,8 +73,11 @@ class Topic {
|
||||
```csharp
|
||||
class Topic {
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Utc)]
|
||||
[Column(ServerTime = DateTimeKind.Utc, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Utc)]
|
||||
public DateTime UpdateTime { get; set; }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
3
更新日志.md
3
更新日志.md
@@ -1,13 +1,14 @@
|
||||
|
||||
每个月一个版本号,如:1.0/1.1/1.2,修复后 bug 会发布 1.0.1/1.0.2
|
||||
|
||||
## v1.1(预告)
|
||||
## v1.1(预览)
|
||||
|
||||
- 修复 BaseRepository.UnitOfWork 延迟设置(即事务开启之后再设置)无效的 bug;
|
||||
- 优化 参考 Chloe 表达式针对变量的解析,提升了一倍性能;
|
||||
- 修复 FreeSql.Generator 外键导航属性大写小 bug;#177
|
||||
- 优化 IsVersion 字段更新 version=ifnull(version,0)+1,防止字段为 null 一直报错;
|
||||
- 完善 [Column(ServerTime = Utc)] 特性,对 Update 时也能生效;
|
||||
- 完善 [Column(MapType = typeof(byte[]))] 对 Guid/string 的映射支持;
|
||||
|
||||
## v1.0.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user