我想做这个:var orderBy = "Nome, Cognome desc";var timb = time.Timbratures.Include("Anagrafica_Dipendente") .Where(p => p.CodDipendente == 1);if(orderBy != "") timb = timb.OrderBy(orderBy);是否有OrderBy可以接受字符串参数的重载?
3 回答
- 3 回答
- 0 关注
- 621 浏览
添加回答
举报
0/150
提交
取消