loadoptions
How to tell if LinqToSql DataContext has previously returned results
When setting the LoadOptions property on a LinqToSql DataContext, if the 开发者_开发知识库context has already returned results from another query, the exception \"Setting load options is not allowed a[详细]
2023-02-16 09:53 分类:问答Random DataReader errors and thread-specific DataContext allowing for changing DataLoadOptions
My .NET MVC project has reached the stage of testing with multiple users and I am getting seemingly random errors (from any screen in the site) relating to Linq2Sql DataReader issues, such as:[详细]
2023-01-07 09:27 分类:问答LINQ: Can I load more than one generation of descendants with DataLoadOptions?
I\'m using the following DataLoadOptions: DataLoadOptions options = new DataLoadOptions(); options.LoadWith<Family>(f => f.FamilyLanguages);[详细]
2022-12-20 02:24 分类:问答Compiled LINQ query & DataLoadOptions... with a twist!
I know about the method discussed here: Solving common problems with Compiled Queries in Linq to Sql for high demand ASP.NET websites[详细]
2022-12-13 15:25 分类:问答