Fix/sonarqube critical major debt #11
@@ -29,8 +29,6 @@ public class WithClause : SqlClause, IWithClause
|
||||
{
|
||||
private SqlClauses? _sql;
|
||||
private IQueryBreakdown? _query;
|
||||
private IQueryBreakdown? _recursiveQuery;
|
||||
private List<string>? _columnList;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the table name for the CTE.
|
||||
@@ -115,11 +113,7 @@ public class WithClause : SqlClause, IWithClause
|
||||
/// Example recursive scenario: traversing an organizational hierarchy where employees reference their managers.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public IQueryBreakdown? RecursiveQuery
|
||||
{
|
||||
get => _recursiveQuery;
|
||||
set => _recursiveQuery = value;
|
||||
}
|
||||
public IQueryBreakdown? RecursiveQuery { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the explicit column list for the CTE.
|
||||
@@ -135,11 +129,7 @@ public class WithClause : SqlClause, IWithClause
|
||||
/// </list>
|
||||
/// The number of column names must match the number of columns in the SELECT clause.
|
||||
/// </remarks>
|
||||
public List<string>? ColumnList
|
||||
{
|
||||
get => _columnList;
|
||||
set => _columnList = value;
|
||||
}
|
||||
public List<string>? ColumnList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="WithClause"/> class.
|
||||
|
||||
Reference in New Issue
Block a user