示例#1
0
 //
 //
 //
 public TranslationContext(BatchNode batch)
 {
     if(_instance != null)
         throw new ApplicationException("Context already initialized");
     _instance = this;
     _batch = batch;
 }
示例#2
0
 public string Write(BatchNode batch)
 {
     batch.Statements.ForEach((s) => { this.Write(s); _sql.WriteLine(";"); });
     return _sql.ToString();
 }