public void ProcessTableVariableStatement(DeclareTableVariableStatement Fragment)
 {
     if (Fragment.Body.VariableName.Value.Length <= 2)
     {
         _smells.SendFeedBack(33, Fragment);
     }
 }
            public override void Visit(DeclareTableVariableStatement tableVariableStatement)
            {
                foreach (var columnDefinition in tableVariableStatement.Body.Definition.ColumnDefinitions)
                {
                    var value = columnDefinition.ColumnIdentifier.Value;
                    Analyze(value, columnDefinition.DataType as SqlDataTypeReference);
                }

                base.Visit(tableVariableStatement);
            }
 public override void ExplicitVisit(DeclareTableVariableStatement fragment)
 {
     _fragments.Add(fragment);
 }
Beispiel #4
0
 public override void Visit(DeclareTableVariableStatement node) { this.action(node); }
Beispiel #5
0
 public override void ExplicitVisit(DeclareTableVariableStatement node)
 {
     base.ExplicitVisit(node);
 }