Update unit test

This commit is contained in:
sunkaixuan
2023-07-16 13:11:14 +08:00
parent b2ae960849
commit 97d085fd48

View File

@@ -44,7 +44,7 @@ namespace OrmTest
IsRemind = saveDiary.IsRemind,
}).Where(it => it.ID == saveDiary.ID).ToSql();
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()