Thursday , 30 March 2017
Home » Tag Archives: LINQ

Tag Archives: LINQ

Managed Code within LINQ Pitfall

I thought I’ll post this in case anyone else encounters this problem. The purpose of the method is to get back a set of ClientContacts filtering based on the ClientID and select only those active if the onlyActive parameter is true, else ignore the IsActive filter and return all the records. Here’s my LINQ query with a simple if-else shortcut …

Read More »