[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

Linq Query Doesn't Make IQueryable

Can you cast a System.Linq.Enumerable.JoinIterator to a QueryObject? This reason being that I’m trying to get to ToTraceString(), but my var query when executed is not an IQueryable but a JoinIterator??? (I just want to see the SQL)
0
Silas2
Asked:
Silas2
  • 2
1 Solution
 
sameer_goyalCommented:
No you can't.
0
 
Silas2Author Commented:
Can you get a QueryObject from a query with joins in?
0
 
sameer_goyalCommented:
yes you can.. in fact, a queryobject, if has multiple data sources, created a JOIN between the data sources.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now