This commit is contained in:
sunkaixuan
2017-08-25 15:15:13 +08:00
parent 2e462e4f38
commit fba5d05e44
5 changed files with 367 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ namespace OrmTest.Demo
JoinType.Left,st.SchoolId==sc.Id
})
.Select((st,sc)=>new { id=st.Id,name=sc.Name})
.SelectMergeAsTable().Where(XXX=>XXX.id==1).OrderBy("name asc").ToList();// Prefix, is, not, necessary, and take the columns in select
.MergeTable().Where(XXX=>XXX.id==1).OrderBy("name asc").ToList();// Prefix, is, not, necessary, and take the columns in select
}