public ActionResult Create(MenuEntidad menu) { try { contexto.MenuEntidads.InsertOnSubmit(menu); contexto.SubmitChanges(); // TODO: Add insert logic here return RedirectToAction("Index"); } catch { return View(); } }
private void detach_MenuEntidads(MenuEntidad entity) { this.SendPropertyChanging(); entity.ModuloEntidad = null; }
partial void UpdateMenuEntidad(MenuEntidad instance);
partial void DeleteMenuEntidad(MenuEntidad instance);
partial void InsertMenuEntidad(MenuEntidad instance);