Link to home
Start Free TrialLog in
Avatar of Member_2_1242703
Member_2_1242703

asked on

Adding where clause to entity statement c#

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

ASKER CERTIFIED SOLUTION
Avatar of Avodah
Avodah
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial