private void DeleteDetail(EUsuario entity) { IDOUpdate objDO = new SYDOMnt.UsuMenu(); EUsuMenu objE = new EUsuMenu(); objE.IdUser = entity.IdUser; objDO.Delete(objE); }
private void UpdateDetail(IList<EUsuMenu> col, object[] primKey) { if (col == null) return; IDOUpdate objDO = new SYDOMnt.UsuMenu(); foreach (EUsuMenu objE in col) { object[] objRet = null; if (primKey != null) objE.IdUser = primKey[0].ToString(); objRet = objDO.Insert(objE); } }