예제 #1
0
 //
 //
 //
 public TranslationContext(BatchNode batch)
 {
     if(_instance != null)
         throw new ApplicationException("Context already initialized");
     _instance = this;
     _batch = batch;
 }
예제 #2
0
파일: SqlWriter.cs 프로젝트: vchekan/CodeQL
 public string Write(BatchNode batch)
 {
     batch.Statements.ForEach((s) => { this.Write(s); _sql.WriteLine(";"); });
     return _sql.ToString();
 }