I have been trying to update the performance of my code in regards to database queries.The problem I am currently running into is that I cant seem to find a way to get a new context for each subQuery.
I have a many to many relationship (Sites, Categories, CategoriesXSite) and two iqueryable defined v开发者_开发问答ariables like this:
i have a the following class : class myClass { string b; string c; string d; } and the following list :
I\'m building a repository method (Entity Framework) to take in a collection of ids supplied by checkboxes in a form as part of a CMS, and updating a lookup table (entity set) that relates topics to p
I came across this while pl开发者_高级运维aying with LINQ to SQL and can\'t seem to see it in a light that makes any sense.I have an IQueryable as:
Can the following loop be implem开发者_开发技巧ented using IQueryable, IEnumerable or lambda expressions with linq
I have a IQueryable<Journey> that i collect from my entity model. I want to use this to get a new set of IQueryable<Journey> but only within a specific date interval from 2 textboxes on my
I\'m using Entity Framework 4.1 Code First.In my entity, I have three date/time properties: public class MyEntity
I\'ve few doubts regarding how shared IEnumerable and IQueryable is accessed in multi-threaded application.
I have an Entity class that I have extended using the partial class syntax to have some derived properties.I would like to perform a query using the IQueryable<T> interface that uses the informa