Добавьте файлы проекта.
This commit is contained in:
10
SQLLinter/Infrastructure/Interfaces/IFragmentBuilder.cs
Normal file
10
SQLLinter/Infrastructure/Interfaces/IFragmentBuilder.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Microsoft.SqlServer.TransactSql.ScriptDom;
|
||||
using SQLLinter.Core.Interfaces;
|
||||
|
||||
namespace SQLLinter.Infrastructure.Interfaces
|
||||
{
|
||||
public interface IFragmentBuilder
|
||||
{
|
||||
TSqlFragment? GetFragment(string sqlPath, TextReader txtRdr, out IList<ParseError> errors, IEnumerable<IOverride> overrides = null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace SQLLinter.Infrastructure.Interfaces
|
||||
{
|
||||
public interface ISqlStreamReaderBuilder
|
||||
{
|
||||
StreamReader CreateReader(Stream sqlFileStream);
|
||||
}
|
||||
}
|
||||
7
SQLLinter/Infrastructure/Interfaces/IViolationFixer.cs
Normal file
7
SQLLinter/Infrastructure/Interfaces/IViolationFixer.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace SQLLinter.Infrastructure.Interfaces
|
||||
{
|
||||
public interface IViolationFixer
|
||||
{
|
||||
void Fix();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user