mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update demo
This commit is contained in:
@@ -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")]
|
||||
|
Reference in New Issue
Block a user