Monthly Archives: June 2009

>LINQ Operators – Part VII

> Generation operators: Range: Given a start and count generates a list of integers. Enumerable.Range( 3, 10) Generates integers 3,4 … 12. Repeat: Is similar to replicate() –but not limited to strings- and generates a list of a given element … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Query Operators – Part VI

> Set operators In set operators we will discuss Distinct(), Union(), Intersect(), Except() and Concat(). Distinct: Removes the duplications and selects unique items. T-SQL counterpart is "Distinct". Union: Returns the union of items from multiple sets. In other words adds … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Operators – Part V

> Joining operators: Join: If you remember from query methods join is not needed in the case of direct relations in the model (however local queries are faster with join). You can create inner and left joins using Join operator. … Continue reading

Posted in Uncategorized | Leave a comment