Добавьте файлы проекта.
This commit is contained in:
17
SQLLinter/Common/IRule.cs
Normal file
17
SQLLinter/Common/IRule.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user