Files
SQLLint/SQLLinter/Common/IRule.cs

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