Files
SQLLint/SQLLinter/Common/IRule.cs
FrigaT 7fb11364c4
All checks were successful
CI / build-test (push) Successful in 38s
Release / pack-and-publish (release) Successful in 35s
Изменено формирование деталировки: зависимость от строк, а не от родителя
2025-12-29 01:19:51 +03:00

18 lines
427 B
C#

using Microsoft.SqlServer.TransactSql.ScriptDom;
namespace SQLLinter.Common;
public interface IRule
{
string Name { get; }
string Text { get; }
RuleViolationSeverity Severity { get; set; }
int DynamicSqlStartColumn { get; set; }
int DynamicSqlStartLine { get; set; }
IEnumerable<Violation> Analyze(TSqlFragment fragment);
void SetParents(Dictionary<TSqlFragment, TSqlFragment?>? parents);
}