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:
@@ -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))]
|
||||
|
Reference in New Issue
Block a user