Update mongodb

This commit is contained in:
sunkaixuan
2025-06-27 18:58:08 +08:00
parent 7c8129e4c1
commit efd2df5e18
2 changed files with 40 additions and 14 deletions

View File

@@ -58,11 +58,11 @@ namespace MongoDbTest
]");
//var list = db.Queryable<Student>()
// .LeftJoin<School>((x, y) => x.SchoolId == y.Id)
// .Select((x,y) => new
// .LeftJoin<School>((x, y) => x.SchoolId == y.Id)
// .Select((x, y) => new
// {
// StudentName= x.Name,
// SchoolName= y.Name
// StudentName = x.Name,
// SchoolName = y.Name
// }).ToList();
}
[SqlSugar.SugarTable("UnitStudent123131")]