Beispiel #1
0
 public virtual ISQLBuilder Clear()
 {
     if (PreviousStatements != null)
     {
         PreviousStatements.Clear();
     }
     PreviousStatements       = LeafBuilder.CreateContainerForStatements();
     CurrentStatement         = Tuple.Create(SQLStatementType.DML, new FastStringBuilder());
     StatementCount           = -1;
     VariableDeclarationCount = 0;
     AdvanceNextStatement();
     return(this);
 }
 public virtual ICollection <SQLStatement> CreateContainerForStatements()
 {
     return(_internalBuilder.CreateContainerForStatements());
 }