摘要:
在linq查询中返回指定列的数据,select一个匿名类即可。代码示例如下。 public class BaseController : Controller { public DataContext db = new DataContext(); // ... 阅读全文
posted @ 2016-06-30 10:35
代码养家
阅读(223)
评论(0)
推荐(0)
|
摘要:
在linq查询中返回指定列的数据,select一个匿名类即可。代码示例如下。 public class BaseController : Controller { public DataContext db = new DataContext(); // ... 阅读全文
posted @ 2016-06-30 10:35
代码养家
阅读(223)
评论(0)
推荐(0)
|