Add unit test

This commit is contained in:
sunkaixuan 2023-04-17 08:09:32 +08:00
parent 3a948827ae
commit 3ebaea457d
2 changed files with 18 additions and 8 deletions

View File

@ -61,7 +61,11 @@ namespace OrmTest
.SetColumns(it => it.os == order)
.Where(it => true)
.ExecuteCommand();
db.
Updateable<UnitJsonTestadsga1>()
.SetColumns(it => new UnitJsonTestadsga1() { os = order })
.Where(it => true)
.ExecuteCommand();
var list14 = db.Queryable<UnitJsonTestadsga1>().ToList();
}
}

View File

@ -101,6 +101,12 @@ namespace OrmTest
.Where(it => true)
.ExecuteCommand();
db.
Updateable<UnitJsonTestadsga1>()
.SetColumns(it => new UnitJsonTestadsga1() { os = order })
.Where(it => true)
.ExecuteCommand();
var list14=db.Queryable<UnitJsonTestadsga1>().ToList();
}
}