protected static string BoolTypeToString(BooleanOperator boolType)
{
switch (boolType)
{
case BooleanOperator.And:
return " AND ";
case BooleanOperator.Or:
return " OR ";
default:
throw new NotSupportedException("Type of expression condition '" +
boolType + " not supported.");
}
}