mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update demo
This commit is contained in:
parent
a3c535c365
commit
ca5979ac51
@ -31,7 +31,10 @@ namespace OrmTest
|
||||
db.QueryFilter.AddTableFilter<IAddressId>(x => x.AddressId ==1);
|
||||
|
||||
var list = db.Queryable<UnitAddress011>().Includes(x => x.Persons).ToList();
|
||||
|
||||
db.CurrentConnectionConfig.MoreSettings = new SqlSugar.ConnMoreSettings
|
||||
{
|
||||
IsAutoDeleteQueryFilter=true
|
||||
};
|
||||
db.UpdateNav(list).Include(x=>x.Persons).ExecuteCommand();
|
||||
}
|
||||
[SqlSugar.SugarTable("UnitPerson011xxx11")]
|
||||
|
Loading…
Reference in New Issue
Block a user