Top "Objectquery" questions

How to use ObjectQuery with Where filter separated by OR clause

Could somebody help me to answer how to rewrite raw SQL filter WHERE (...) OR (...) with ObjectQuery bilder, please? String queryRaw = "…

c# sql filter where objectquery
How can i convert a DBQuery<T> to an ObjectQuery<T>?

I've got a DBQuery<T> which converts to an IQueryable<T> (this bit works fine). But …

.net entity-framework entity-framework-4 objectquery
Serialize Linq Results directly to JSON

I'm developing a WebService that excecute linq to sql db and put the results into a VAR variable. Then I …

c# linq json serialization objectquery
How can I convert IQueryable<T> to ObjectQuery<T>?

I'm trying to apply the advice in this post: Tip 22 - How to make Include really Include It suggests a …

c# .net iqueryable eager-loading objectquery
DbSet<T>.Include() causes SELECT N+1 when used in extension method

I have an extension on IQueryable that allows passing in delimited string of property names which, when used causes query …

entity-framework linq-to-entities dynamic-linq objectquery
Repository / IQueryable / Query Object

I am building a repository and I've seen in many places 2 reasons not to expose IQueryable outside the repository. 1) The …

c# repository-pattern iqueryable objectquery