Добавьте файлы проекта.
This commit is contained in:
15
SQLLinter/Infrastructure/Rules/PrintStatementRule.cs
Normal file
15
SQLLinter/Infrastructure/Rules/PrintStatementRule.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Microsoft.SqlServer.TransactSql.ScriptDom;
|
||||
using SQLLinter.Common;
|
||||
|
||||
namespace SQLLinter.Infrastructure.Rules;
|
||||
|
||||
public class PrintStatementRule : BaseRuleVisitor, IRule
|
||||
{
|
||||
|
||||
public override string Text => "Оператор PRINT найден.";
|
||||
|
||||
public override void Visit(PrintStatement node)
|
||||
{
|
||||
AddViolation(node);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user