how to set if else condition for this
brandtype 1,2,3
if brandtype==1 then this will execute
bucket.PredicateExpression.Add(new FieldCompareValuePredicate(BrandFields.BrandType, null, ComparisonOperator.NotEqual, 2));
else
rest of code
how do i do this.as brandtype is coming from database which has multiple entrys