Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

linq join

var id = 1;
var query =
   from post in database.Posts
   join meta in database.Post_Metas on post.ID equals meta.Post_ID
   where post.ID == id
   select new { Post = post, Meta = meta };
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linq #join
ADD COMMENT
Topic
Name
1+5 =