mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add unit test
This commit is contained in:
parent
0e923edb5d
commit
e8116e5e97
@ -30,7 +30,14 @@ namespace OrmTest
|
||||
.InsertNav(mail)
|
||||
.Include(p => p.Attachments)
|
||||
.ExecuteCommand();
|
||||
}
|
||||
|
||||
sqlSugarScope
|
||||
.UpdateNav(mail,new UpdateNavRootOptions() {
|
||||
IgnoreColumns =new string[]{ "Subject" }
|
||||
})
|
||||
.Include(p => p.Attachments)
|
||||
.ExecuteCommand();
|
||||
}
|
||||
}
|
||||
|
||||
[SugarTable(nameof(Mail))]
|
||||
|
Loading…
Reference in New Issue
Block a user