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