check the following FieldCompareSetPredicate overload for SelfServicing
public FieldCompareSetPredicate(
IEntityField field,
IEntityField setField,
SetOperator operatorToUse,
IPredicate filter,
IRelationCollection relations,
string objectAlias,
long maxNumberOfItemsToReturn,
ISortExpression sorter,
bool negate,
IGroupByCollection groupByClause
);
And for the Adapter:
public FieldCompareSetPredicate(
IEntityFieldCore field,
IFieldPersistenceInfo persistenceInfoField,
IEntityFieldCore setField,
IFieldPersistenceInfo persistenceInfoSetField,
SetOperator operatorToUse,
IPredicate filter,
IRelationCollection relations,
string objectAlias,
long maxNumberOfItemsToReturn,
ISortExpression sorter,
bool negate,
IGroupByCollection groupByClause
);