“Linq innerer Join” Code-Antworten

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 };
Tense Tuatara

Linq innerer Join

var dealercontacts = from contact in DealerContact
                     join dealer in Dealer on contact.DealerId equals dealer.ID
                     select contact;
Code with bulbul

Linq innerer Join


from t1 in db.Table1
join t2 in db.Table2 on t1.field equals t2.field
select new { t1.field2, t2.field3}

Innocent Impala

Ähnliche Antworten wie “Linq innerer Join”

Fragen ähnlich wie “Linq innerer Join”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen