Geeks With Blogs
Berthin Ramampiandra May 2012 Entries
How to perform Cross Join with Linq
Cross join consists to perform a Cartesian product of two sets or sequences. The following example shows a simple Cartesian product of the sets A and B: A (a1, a2) B (b1, b2) => C (a1 b1, a1 b2, a2 b1, a2, b2 ) is the Cartesian product's result. Linq to Sql allows using Cross join operations. Cross join is not equijoin, means that no predicate expression of equality in the Join clause of the query. To define a cross join query, you can use multiple from clauses. Note that there's no explicit operator ......

Posted On Friday, May 25, 2012 10:44 PM

Copyright © berthin | Powered by: GeeksWithBlogs.net | Join free