摘要: System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("NamespaceHint"); 阅读全文
posted @ 2017-03-28 17:18 woolhoo 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 var orders = from o in context.Orders 2 join a in context.Accounts on 3 // 使用匿名类型来构造一个复合的查询表达式 4 new { Id = o.AccountId, City = o.ShipCity, State = o.ShipState } 5 equals 6 new ... 阅读全文
posted @ 2017-03-24 19:09 woolhoo 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1 ((IObjectContextAdapter)dbcontext).ObjectContext.CreateQuery<object>(esql, new ObjectParameter("name", value)) 阅读全文
posted @ 2017-03-24 18:49 woolhoo 阅读(712) 评论(0) 推荐(0) 编辑
摘要: linq: esql: 阅读全文
posted @ 2017-03-24 18:47 woolhoo 阅读(209) 评论(0) 推荐(0) 编辑