当前位置: 首页 >
2014年8月发布的所有日志
-
使用XPO和LINQ实现分组查询功能.
Aug252014Session s = ((XPObjectSpace)ObjectSpace).Session; XPQuery<Ord_OrderMain> queryOrders = s.Query<Ord_OrderMain>(); var p = from order in queryOrders where order.CurrentStatus == Enu_OrderStatus.WaitPrint group order by new { Oid = order.TranShop.Oid, ShopName = order.TranShop.ShopName ...
阅读全文作者:machan | 分类:未分类抢沙发