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