Optimizing a LINQ to SQL query
Something else you can do is EagerLoading. In Linq2SQL you can use LoadOptions : More on LoadOptions One VERY weird thing about L2S is that you can set LoadOptions only before the first query is sent to the Database.
you might want to look into using compiled queries
have a look at http://www.3devs.com/?p=3
链接地址: http://www.djcxy.com/p/41770.html上一篇: 管理LINQ to SQL .dbml模型的复杂性
下一篇: 优化LINQ to SQL查询