private static void WhereClauseBuilder(this BinaryExpression binaryExpression, StringBuilder builder, string tableName) { if (_conditionalAvailable.Contains(binaryExpression.NodeType)) { binaryExpression.GetConditional(builder, tableName); return; } else if (_concatenatorsAvailable.Contains(binaryExpression.NodeType)) { if (binaryExpression.NodeType == ExpressionType.AndAlso) { binaryExpression.GetAndConditional(builder, tableName); } else { binaryExpression.GetOrConditional(builder, tableName); } return; } else { throw new NotImplementedException($"Expression Type ({binaryExpression.NodeType}) not implemented."); } }