Update diff log bug

This commit is contained in:
sunkaixuan
2022-05-03 15:36:55 +08:00
parent 01950b556c
commit 6378850d80
4 changed files with 23 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ namespace OrmTest
db.Insertable(list.Take(5).ToList()).EnableDiffLogEvent().ExecuteCommand();
db.CodeFirst.InitTables<DiffLong>();
db.Insertable(new List<DiffLong>() { new DiffLong() { Id=SnowFlakeSingle.Instance.NextId(), Name="2" },new DiffLong() { Id = SnowFlakeSingle.Instance.NextId(), Name = "2" } }).EnableDiffLogEvent().ExecuteCommand();
db.Insertable(new Order() { CreateTime=DateTime.Now, CustomId=1, Name="a" ,Price=1 }).EnableDiffLogEvent().ExecuteCommand();
data.Name = "changeName";