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