Add unit test

This commit is contained in:
sunkaixuan 2022-10-25 22:30:21 +08:00
parent 0e923edb5d
commit e8116e5e97

View File

@ -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))]