- 完善 [Column(ServerTime = Utc)] 特性,对 Update 时也能生效;

This commit is contained in:
28810
2020-01-06 19:36:30 +08:00
parent bbba06a343
commit fbbd74f54c
11 changed files with 82 additions and 37 deletions

View File

@@ -121,8 +121,11 @@ namespace FreeSql.Tests
public byte[] Binary { get; set; }
[Column(ServerTime = DateTimeKind.Utc, CanUpdate = false)]
public DateTime { get; set; }
[Column(ServerTime = DateTimeKind.Utc)]
public DateTime CreateTime { get; set; }
public DateTime { get; set; }
[Column(InsertValueSql = "'123'")]
public string InsertValue2 { get; set; }