Hi,
I am new to this product so bare with me.
I want to create a new predicate with the function
"FieldCompareValuePredicate"
The first parameter is a field of type ientityfield
but the types of my fields I am seeing in my entity are of type IentityField2 because I am using the adapter scenario.
I do something like this
bucket.PredicateExpression.Add((New FieldCompareValuePredicate(FactoryClasses.EntityFieldFactory.Create(PublicationFieldIndex.UseOnline), ComparisonOperator.Equal, CType(strValue, System.Boolean))))
The create function of the entityfieldfactory class returns me a field of type IentityField2
Can't I use the the FieldCompareValuePredicate in a adapter scenario.
Please could you explain what I am doin wrong.
Thanks
Geert