private  IList<SqlRuleProblem> DoSmells(TSqlObject SqlObject)
        {

            List<SqlRuleProblem> problems = new List<SqlRuleProblem>();


            Smells smellprocess = new Smells();

            int iRule = int.Parse(_ruleID.Substring(_ruleID.Length - 3));
            return (smellprocess.ProcessObject(SqlObject, iRule));

        }
Exemple #2
0
 public FromProcessor(Smells smells)
 {
     _smells = smells;
 }
 public IfStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
 public OrderByProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ReturnStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ColumnDefinitionProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SelectSetProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #8
0
 public PredicateSetProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #9
0
 public DeclareVariableProcessor(Smells smells)
 {
     _smells = smells;
 }
 public IfStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SqlDataTypeProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ReturnStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SelectFunctionReturnTypeProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SetTransactionIsolationLevelProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #15
0
 public WhileProcessor(Smells smells)
 {
     _smells = smells;
 }
 public FunctionStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public FromProcessor(Smells smells)
 {
     _smells = smells;
 }
 public InsertProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #19
0
 public TopProcessor(Smells smells)
 {
     _smells = smells;
 }
 public PredicateSetProcessor(Smells smells)
 {
     _smells = smells;
 }
 public CursorProcessor(Smells smells)
 {
     _smells = smells;
 }
 public InsertProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #23
0
 public BeginEndBlockProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #24
0
 public CreateTableProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #25
0
 public FunctionProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SelectStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SqlDataTypeProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ExecutableEntityProcessor(Smells smells)
 {
     _smells = smells;
 }
 public CreateTableProcessor(Smells smells)
 {
     _smells = smells;
 }
 public SetTransactionIsolationLevelProcessor(Smells smells)
 {
     _smells = smells;
 }
 public FunctionProcessor(Smells smells)
 {
     _smells = smells;
 }
 public TableVariableProcessor(Smells smells)
 {
     _smells = smells;
 }
 public FunctionStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public DeclareVariableProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #35
0
 public OrderByProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ExecutableEntityProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #37
0
 public SelectStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #38
0
 public SetProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #39
0
 public TopProcessor(Smells smells)
 {
     _smells = smells;
 }
Exemple #40
0
 public ProcedureStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ProcedureStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ColumnDefinitionProcessor(Smells smells)
 {
     _smells = smells;
 }