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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -