Beispiel #1
0
 public void Config(DTO.DTOSql deltail, Shared.SInvokeEvent callback)
 {
     new Shared.SSequence()
     .Then(() =>
     {
         DAO.DAOSql sql = new DAO.DAOSql(deltail);
         callback.Wait(null);
         if (sql.IsActive())
         {
             callback.Success(null);
             sql.SetDeltailGlobal();
             sql.SaveDeltailFileXML();
         }
         else
         {
             callback.Error(null);
         }
     })
     .Start();
 }
Beispiel #2
0
 public BUSSql()
 {
     sql = new DAO.DAOSql();
 }