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
11bc0099c4
commit
4108e5dbc1
@ -42,7 +42,15 @@ namespace OrmTest
|
||||
.LeftJoin<Dog>((x, y) => x.DogId == y.DogId)
|
||||
.LeftJoin<Dog>((x, y,z) => x.DogId == z.DogId)
|
||||
.ToList();
|
||||
|
||||
db.Queryable<Dog, Cat>((d, c) => new JoinQueryInfos(
|
||||
JoinType.Left, d.AnimalId == c.AnimalId
|
||||
))
|
||||
.ToList();
|
||||
db.Queryable<Dog, Cat,Cat>((d, c,cat) => new JoinQueryInfos(
|
||||
JoinType.Left, d.AnimalId == c.AnimalId,
|
||||
JoinType.Left, d.AnimalId == cat.AnimalId
|
||||
))
|
||||
.ToList();
|
||||
db.DbMaintenance.AddColumnRemark("Id", "DBO.Order", "a");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user