mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update unit test
This commit is contained in:
parent
597d511d61
commit
9e6ce978b1
@ -108,7 +108,16 @@ namespace OrmTest
|
||||
});
|
||||
var list3 = Db.Queryable<UnitBulk23131>().ToList();
|
||||
SqlSugar.Check.Exception(list3.First().table == false, "unit error");
|
||||
|
||||
Db.Fastest<UnitBulk23131>().BulkUpdate(new List<UnitBulk23131> {
|
||||
new UnitBulk23131()
|
||||
{
|
||||
Id = 1,
|
||||
table = false
|
||||
}
|
||||
});
|
||||
list3 = Db.Queryable<UnitBulk23131>().ToList();
|
||||
SqlSugar.Check.Exception(list3.First().table == true, "unit error");
|
||||
|
||||
Db.DbMaintenance.TruncateTable<UnitBulk23131>();
|
||||
Db.Fastest<UnitBulk23131>().BulkCopy(new List<UnitBulk23131> {
|
||||
new UnitBulk23131()
|
||||
|
Loading…
Reference in New Issue
Block a user