Solved

Linq Query Doesn't Make IQueryable

Posted on 2011-02-19
3
515 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 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