mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add unit test
This commit is contained in:
parent
8baf1b3fa7
commit
adb786810f
@ -93,6 +93,13 @@ namespace OrmTest
|
||||
var list4 = db.Queryable<OperatorInfo>()
|
||||
.Includes(x => x.Roles.Skip(10).Take(1).ToList())
|
||||
.ToList();
|
||||
|
||||
db.DeleteNav<OperatorInfo>(x=>x.id== list4.First().id)
|
||||
.Include(x => x.Roles,new DeleteNavOptions() {
|
||||
ManyToMayIsDeleteA=true,
|
||||
ManyToMayIsDeleteB=true
|
||||
})
|
||||
.ExecuteCommand();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user