Fix/sonarqube critical major debt #11

Merged
bermudalamb merged 10 commits from fix/sonarqube-critical-major-debt into main 2026-05-26 10:36:29 -05:00
Showing only changes of commit b6ebb8c7cd - Show all commits
@@ -13,7 +13,6 @@ public class LinqExpressionVisitor : ExpressionVisitor
private readonly StringBuilder _orderByBuilder = new();
private readonly List<string> _methodCalls = new();
private bool _isInWhereClause;
private string? _tableName;
/// <summary>
/// Gets the SELECT clause extracted from the expression.
@@ -119,8 +118,7 @@ public class LinqExpressionVisitor : ExpressionVisitor
var entityType = node.Type.GetGenericArguments().FirstOrDefault();
if (entityType != null)
{
_tableName = entityType.Name;
FromClause = _tableName;
FromClause = entityType.Name;
}
}
}