Solved

Linq Query Doesn't Make IQueryable

Posted on 2011-02-19
3
512 Views
Last Modified: 2013-11-11
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
Comment
Question by:Silas2
  • 2
3 Comments
 
LVL 5

Expert Comment

by:sameer_goyal
ID: 34933506
No you can't.
0
 

Author Comment

by:Silas2
ID: 34933571
Can you get a QueryObject from a query with joins in?
0
 
LVL 5

Accepted Solution

by:
sameer_goyal earned 500 total points
ID: 34933685
yes you can.. in fact, a queryobject, if has multiple data sources, created a JOIN between the data sources.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now