上一页 1 ··· 7 8 9 10 11
摘要: 解决方案,修改app.config配置文件的startup节点,修改内容如下: 作者: 翟士丹 发表于 2011-04-06 09:25 原文链接评论: 0 查看评论 发表评论最新新闻:· 来无影去无踪 黑客组织Lulzsec震撼互联网(2011-07-01 22:22)· Facebook社交广告影响:扩大传统内容影响力(2011-07-01 22:19)· Chrome浏览器全球市场份额6月份升至13.1%(2011-07-01 21:19)· 微软Windows Phone 7应用突破25000个(2011-07-01 21:11)· 传 阅读全文
posted @ 2011-04-06 09:25 StanZhai 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 初次学习LINQ to Entities,给出两种查询的示例代码。基于方法的查询:using (AdventureWorksEntities AWEntities = new AdventureWorksEntities()){ ObjectSet contacts = AWEntities.Contacts; ObjectSet orders = AWEntities.SalesOrderHeaders; var query = contacts.SelectMany( contact => orders.Where(order => (contact.ContactID == 阅读全文
posted @ 2011-04-06 09:24 StanZhai 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11