LogicalOperator Issue in Esq in Source Code

Hi Team, 

I want to add multiple filters and connect them with OR 

But the issues I am having 

 

How will add filters with Logical Operator in Source Code can anybody help ?

Like 0

Like

2 comments

Hi,

Take a look at this discussion
https://community.creatio.com/questions/filter-group-c
I believe there you can find an answer to your question.

Create the FilterGroup using the following:

var filterGroup = new EntitySchemaQueryFilterCollection(esq, LogicalOperationStrict.Or);

Then add the filters to that FilterGroup.

Ryan

Show all comments