How to apply following type of condtion in Query Expression
(Condition 1 and Condition 2) or (Condition 3 and Condition 4)
var queryExpression = new QueryExpression()
{
Distinct = false,
EntityName = Incident.EntityLogicalName,
ColumnSet = new ColumnSet("incidentid","productid", "title", "ticketnumber", "statuscode", "severitycode", "prioritycode", "createdon", "modifiedon", "createdby"),
Send
Criteria =
{
Conditions =
{
Condition 1,
Condition 2,
Condition 3,
Condition 4
}
}
};
in Above query expr all conditions are with and operator by default, I want them to work like above conditions written with or & and combined.