LinQ To Object 基本用法
摘要:
inq的基本语法:var result = from item in container select item; linq获取数据子集: var result = from item in container where booleanexpression select item;Select用法:var selectedItems = from item in items where item.ParentID == parentID orderby item.SortIndex descending ,item.Name ascendi... 阅读全文
posted @ 2013-07-26 16:29 黑豹小杰 阅读(235) 评论(0) 推荐(0) 编辑