mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
4e91703056
commit
86a04186b3
@ -61,6 +61,13 @@ namespace OrmTest
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
||||
db.UpdateNav(list3)
|
||||
.Include(x => x.Persons, new SqlSugar.UpdateNavOptions()
|
||||
{
|
||||
OneToManyInsertOrUpdate = true,//启用:子表插入或更新模式
|
||||
IgnoreColumns =new string[] { "AddressId" }
|
||||
}).ExecuteCommand();
|
||||
|
||||
}
|
||||
[SqlSugar.SugarTable("UnitPerson0112s22a2")]
|
||||
public class UnitPerson011
|
||||
|
Loading…
Reference in New Issue
Block a user