c# - Translating between LINQ formats -


How can anyone write it?

  var q = Customers included in C In order to be on C Equals equals Select new {c.Name, o.OderDumber};  

In this syntax style?

  var 1 = Customer .join (???) Selection (???)  

I've been googling for a way to do this now with days now everyone with luck gives priority to the first syntax for the tutorial, but While reading, I find it easier to determine the order of operation.

"post-text" itemprop = "text">

The compiler translation process involves using a "transparent identifier" which provides the current customer and order for the selection method. You can simulate this by making your own:

  customer .joint (order, c => ck, o = & gt; o, c, o ) => New {C, O}). Select (x = & gt; new {xcName, xoOrderNumber});  

Instead, you can only include your name / serial number in the call to join the launch:

  customers.Join (orders, c = & Gt; c key, o = & gt; o.e.e, (c, o) => new {c.Name, odernumber});  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -