Add unit test

This commit is contained in:
sunkaixuan 2024-02-07 19:10:25 +08:00
parent 3369cd93a7
commit 5970a0b782

View File

@ -26,6 +26,9 @@ namespace OrmTest
{ {
throw new Exception("unit error"); throw new Exception("unit error");
} }
var list3 = db.Queryable<UnitPerson011>()
.Includes(x => x.adds)
.Where(x=>x.adds.Id==1).ToList();
} }
[SqlSugar.SugarTable("UnitPerson0x1x1")] [SqlSugar.SugarTable("UnitPerson0x1x1")]
public class UnitPerson011 public class UnitPerson011