liulun

专注!坚持!

  博客园 :: 首页 :: 新随笔 ::  :: 订阅 订阅 :: 管理 ::
  200 随笔 :: 6 文章 :: 830 评论 :: 4 引用

LINQ

posted @ 2010-03-19 09:06 liulun 阅读(108) | 评论 (1) 编辑

posted @ 2009-12-15 08:40 liulun 阅读(76) | 评论 (1) 编辑

posted @ 2009-10-18 11:48 liulun 阅读(309) | 评论 (0) 编辑

摘要: 1.order by 默认的排序方式为升序(ascending),降序为:descending.2.group by 对查询的结果进行分组3.into创建一个临时存储器,可以存储group或者select等子句的结果阅读全文
posted @ 2009-06-02 20:05 liulun 阅读(1145) | 评论 (0) 编辑

摘要: 一:基础知识1:linq查询表达式必须以from子句开头2:linq查询表达式必须以select 或者group子句结尾3:linq查询表达式可以包含0个或多个where子句,一个where子句可以包...阅读全文
posted @ 2009-06-02 17:25 liulun 阅读(589) | 评论 (0) 编辑

摘要: 一:隐形局部变量(var) public class UserInfo { public string userName; public string passWord; } class Progra...阅读全文
posted @ 2009-06-02 09:06 liulun 阅读(103) | 评论 (0) 编辑