mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Add unit test
This commit is contained in:
@@ -44,9 +44,13 @@ namespace OrmTest
|
|||||||
ScheduleId=1,
|
ScheduleId=1,
|
||||||
SysUserId=1
|
SysUserId=1
|
||||||
}).ExecuteCommand();
|
}).ExecuteCommand();
|
||||||
|
db.MappingTables = new MappingTableList();
|
||||||
|
db.MappingColumns = new MappingColumnList();
|
||||||
db.DeleteNav<ScheduleEntity>(x => true)
|
db.DeleteNav<ScheduleEntity>(x => true)
|
||||||
.Include(x => x.SysUsers.Where(u => u.Id == 1).ToList()) // B表
|
.Include(x => x.SysUsers.Where(u => u.Id == 1).ToList()) // B表
|
||||||
.ExecuteCommand();
|
.ExecuteCommand();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user