Files
SQLLint/SQLLinter/Common/IRule.cs
FrigaT 0470309978
All checks were successful
CI / build-test (push) Successful in 50s
Release / pack-and-publish (release) Successful in 42s
Добавлена настройка генерации деталировки
2025-12-28 16:47:35 +03:00

17 lines
426 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);
}