Kamis, 19 April 2012

Using IQueryable Filtering on a custom collection

I am trying to use LINQ to replace the following code.. public List GetEULineItems(PurchaseOrder p) { List EULineItems = new List(); foreach (LineItem li in p.OrderForms[0].LineItems) { if (li[Constants.ProductSource] != null) { if (li[Constants.ProductSource].ToString().Trim()

0 comments:

Posting Komentar