We help IT Professionals succeed at work.

Adding where clause to entity statement c#

351 Views
Last Modified: 2017-03-30
I'm trying to add a where clause here but not sure how or where to do it. I want to iterate through each record where...

            
using (var db = new PTO_SystemEntities())
            {
                var pto = db.PTO_REQUEST;
                foreach (var i in pto)
                {
...
                }
}

Open in new window

Comment
Watch Question

Software Enthusiast
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION