Answers for "linq join and where"

SQL
2

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 };
Posted by: Guest on April-08-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language