摘要: ObjectContext 并没有提供 LINQ to SQL DataContext.Log 这样的功能,要查看实际生成的 T-SQL 语句,要么借助 SQL Server Sql Profiler 这样的工具,要么使用 ObjectQuery.ToTraceString() 方法。using (... 阅读全文
posted @ 2014-05-23 09:50 江宁织造 阅读(654) 评论(0) 推荐(0)