Esempio 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));
        }
Esempio 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);
 }