.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Resource Bookmark and Share   

How can i select all fields in LINQ using join.

Posted By:Ashutosh Jha       Posted Date: July 26, 2014    Points: 40    Category:    URL: http://www.dotnetspark.com  

This code will help you to select all field in linq using join-

var Joinquery = (from ABC in db.Table1 select new {A = ABC.A, B = ABC.B})

.Concat( from XYZ in db.Table2 select new {A = XYZ.A, B = XYZ.B} );


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend