Exemplo n.º 1
0
        public int Delete(String app, String kode)
        {
            SetVar record;

            if (_ctx.Transaction == null)
            {
                record = new SetVarDao().Get(app, kode);
            }
            else
            {
                record = Get(app, kode);
            }
            _helper.Delete(_ctx, record, _isAuditLog);
            return(DaoBase.ExecuteNonQuery(_ctx));
        }
Exemplo n.º 2
0
 public int Delete(String app, String kode)
 {
     SetVar record;
     if (_ctx.Transaction == null)
         record = new SetVarDao().Get(app,kode);
     else
         record = Get(app,kode);
     _helper.Delete(_ctx, record, _isAuditLog);
     return DaoBase.ExecuteNonQuery(_ctx);
 }