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
b3241988db
commit
426c4b2003
@ -33,7 +33,15 @@ namespace OrmTest
|
||||
.IncludeByNameString("Persons")
|
||||
.IncludeByNameString("City").ExecuteCommand();
|
||||
|
||||
|
||||
var list = db.Queryable<UnitAddress011>().Includes(x => x.Persons).Includes(x => x.City).ToList();
|
||||
|
||||
|
||||
db.DeleteNav(address).IncludeByNameString("Persons")
|
||||
.IncludeByNameString("City").ExecuteCommand();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
[SqlSugar.SugarTable("UnitPerson01x1")]
|
||||
|
Loading…
Reference in New Issue
Block a user