Browse Source

Update unit test

pull/40/head
sunkaixuan 1 year ago
parent
commit
48694c83e1
  1. 2
      Src/Asp.Net/SqliteTest/UnitTest/Updateable.cs

2
Src/Asp.Net/SqliteTest/UnitTest/Updateable.cs

@ -44,7 +44,7 @@ namespace OrmTest
IsRemind = saveDiary.IsRemind, IsRemind = saveDiary.IsRemind,
}).Where(it => it.ID == saveDiary.ID).ToSql(); }).Where(it => it.ID == saveDiary.ID).ToSql();
UValidate.Check(sql.Key, @"UPDATE `Diary` SET UValidate.Check(sql.Key, @"UPDATE `Diary` SET
`IsRemind` = @Const0 WHERE ( `ID` = @ID1 )", "Updateable"); `IsRemind` = @Const0 WHERE ( `ID` = @ID1 )", "Updateable");
sql = Db.Updateable<UnitDiary>().SetColumns(it => new UnitDiary() sql = Db.Updateable<UnitDiary>().SetColumns(it => new UnitDiary()

Loading…
Cancel
Save