摘要: 查询: 返回一个值 string strSql = "SELECT COUNT(0) FROM Person(NOLOCK)"; var query = dataContext.ExecuteQuery<int>(strSql); int result = query.First<int>(); ... 阅读全文
posted @ 2012-07-12 17:56 zhcnblog 阅读(3788) 评论(0) 推荐(0) 编辑