Update README.md

This commit is contained in:
sunkaixuan
2017-09-17 11:15:06 +08:00
committed by GitHub
parent 44320557ef
commit dae92ce6a9

View File

@@ -106,7 +106,7 @@ JoinType.Left,st.SchoolId==sc.Id
### subquery
```c
var getAll = db.Queryable<Student, School>((st, sc) => new object[] {
JoinType.Left,st.Id==sc.Id})
JoinType.Left,st.Id==sc.Id})
.Where(st => st.Id == SqlFunc.Subqueryable<School>().Where(s => s.Id == st.Id).Select(s => s.Id))
.ToList();