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(); }
public BUSSql() { sql = new DAO.DAOSql(); }