mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Add unit test
This commit is contained in:
parent
0bf3c69258
commit
ba8e0460fd
@ -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();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user