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


Top 5 Contributors of the Month
david stephan

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:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

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