Example #1
0
        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));

        }
Example #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;
 }
Example #8
0
 public PredicateSetProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #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;
 }
Example #15
0
 public WhileProcessor(Smells smells)
 {
     _smells = smells;
 }
 public FunctionStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #17
0
 public FromProcessor(Smells smells)
 {
     _smells = smells;
 }
 public InsertProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #19
0
 public TopProcessor(Smells smells)
 {
     _smells = smells;
 }
 public PredicateSetProcessor(Smells smells)
 {
     _smells = smells;
 }
 public CursorProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #22
0
 public InsertProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #23
0
 public BeginEndBlockProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #24
0
 public CreateTableProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #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;
 }
Example #35
0
 public OrderByProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ExecutableEntityProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #37
0
 public SelectStatementProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #38
0
 public SetProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #39
0
 public TopProcessor(Smells smells)
 {
     _smells = smells;
 }
Example #40
0
 public ProcedureStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ProcedureStatementBodyProcessor(Smells smells)
 {
     _smells = smells;
 }
 public ColumnDefinitionProcessor(Smells smells)
 {
     _smells = smells;
 }