Exemplo n.º 1
0
        public int Delete(String AppId)
        {
            App record;

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