Query Syntax vs Method Syntax

While working on an IQueryable<T> provider I was having a problem when doing LINQ statements via the Query Syntax that wasn’t happening when using the Method Syntax (chained lambda expressions).
And that problem has lead to an observation I…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

While working on an IQueryable<T> provider I was having a problem when doing LINQ statements via the Query Syntax that wasn’t happening when using the Method Syntax (chained lambda expressions). And that problem has lead to an observation I made about LINQ, well, about Expression-based LINQ (ie - something implementing IQueryable, so LINQ to SQL, etc). I’ll use LINQ to SQL for the examples as it’s more accessible to everyone.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2009-05-19T00:00:00+00:00) Query Syntax vs Method Syntax. Retrieved from https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/

MLA
" » Query Syntax vs Method Syntax." Posts on LINQ to Fail | Sciencx - Tuesday May 19, 2009, https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday May 19, 2009 » Query Syntax vs Method Syntax., viewed ,<https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Query Syntax vs Method Syntax. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/
CHICAGO
" » Query Syntax vs Method Syntax." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/
IEEE
" » Query Syntax vs Method Syntax." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/. [Accessed: ]
rf:citation
» Query Syntax vs Method Syntax | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2009/05/19/query-syntax-vs-method-syntax/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.