/// <summary>
 /// Adds the sql text and sql parameters from a list to this transaction
 /// </summary>
 /// <param name="list"></param>
 public void Add(AbstractTableList list)
 {
     foreach (AbstractTable table in list.TableItems)
     {
         Add(table);
     }
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public void Syncronize()
 {
     foreach (object item in m_Tables)
     {
         if (item is BaseSqlToCS && item is ITransactionLog)
         {
             SyncronizeTable((BaseSqlToCS)item);
         }
         else if (item is AbstractTableList)
         {
             AbstractTableList list = item as AbstractTableList;
             foreach (AbstractTable table in list.TableItems)
             {
                 SyncronizeTable(table);
             }
         }
     }
 }
Example #3
0
 /// <summary>
 /// Adds the sql text and sql parameters from a list to this transaction
 /// </summary>
 /// <param name="list"></param>
 public void Add(AbstractTableList list)
 {
     m_Tables.Add(list);
 }