请教orderby问题:var q=from s in myEntity orderby s.f1,sf2,s.f3 select s 转换为m'y'E'n't
请教orderby问题:
如何把
var q=from s in myEntity orderby s.f1,sf2,s.f3 select s
转换为
myEntity.Orderby(s=>s.f1...
?
------解决方案--------------------myEntity.Orderby(s=>s.f1).ThenBy(s=>s.f2).ThenBy(s=>s.f3)