private void DeleteDetail(EUsuario entity) { IDOUpdate objDO = new SYDOMnt.UsuMenu(); EUsuMenu objE = new EUsuMenu(); objE.IdUser = entity.IdUser; objDO.Delete(objE); }
private ArrayList BuildParamInterface(EUsuMenu value) { ArrayList arrPrm = new ArrayList(); arrPrm.Add(DataHelper.CreateParameter("@pidUser", SqlDbType.Char,5, value.IdUser)); arrPrm.Add(DataHelper.CreateParameter("@pidMenu", SqlDbType.Char,8, value.IdMenu)); return arrPrm; }