Sunday, 29 September 2013

FindAll using Lamda expression in LINQ

FindAll using Lamda expression in LINQ

I'm using lambda expression in LINQ. When i build it shows
'No overload for method FindAll takes 0 arguments'
//Code:
List<Dispatch> lstDispatch = lstDispatch.FindAll().Where(dispatch =>
dispatch.InvoiceStatus != "Delivered" && dispatch.IsActive=1);
Why???

No comments:

Post a Comment