Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Im starting of the LINQ Query so, I want to briefly explain syntax given below.

SQL
var val = (from row in dc.ProductChilds
                      join row2 in dc.ProductParents
                      on row.FKID equals row2.ID
                      select new ProductChild { ChildDescription = row.ChildDescription, FKID = row.FKID, ID = row.ID });
           return val.ToList();

i want to explanation here

what is ( ?
what is ) ?
what is { ?
what is } ?
what is select ?........................all


So, could you please explain briefly?
Posted
Comments
Dhanamanikandan 12-Apr-12 9:22am    
Hi,
Please refer http://www.codeproject.com/Articles/19154/Understanding-LINQ-C. If this article not help you. Please let me know. Thanks
Bojjaiah 12-Apr-12 9:45am    
Thnak you :) Dhana

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900