Browse by Tags
All Tags »
LINQ (
RSS)
I found many links to write IN clause in Linq but following is the simplest way achieve this public IEnumerable<Products> GetProductsByIds(List<int > ids) { from id in Products where (x => ids.Contains...
After working so long on I SQL ,you always need little trick to write you Linq Quires.Here is few tools which might help to generate your linq quries. SQL to LINQ converter http://www.sqltolinq.com/ Code Generation in LINQ to SQL http://msdn.microsoft...
Awesome list of LINQ sample Restriction Operators Where - Simple 1 Where - Simple 2 Where - Simple 3 Where - Drilldown Where - Indexed Projection Operators Select - Simple 1 Select - Simple 2 Select - Transformation Select - Anonymous Types 1 Select ...
More Posts