Simplified Linq for return to View Model -


How can I simplify the following statement?

  var order = db.Orders. (O = & gt; o shipment). Where (o = & gt; OID == 3 || OID == 5 || OID == 10). Ollist (); Finally, I would like to do this:  
  SELECT * ORDERS from where id (3,5,10)   < , . , .  or  have tried  

but Linq can not query "form".

something like that?

  var item = new int [] (3,5,10}; var order = db.Orders. (O => o shipment). Where (o = & Gt; items included (OID). Olist ();  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -