partial void DeleteActaVisitaSE(ActaVisitaSE instance);
protected int InsertarActaVisita() { try { int idmedicion = Convert.ToInt32(Session["idmedAcc"]); int idusuario = Convert.ToInt32(Session["idusuario"]); int idse = Convert.ToInt32(Session["idseacc"]); ESM.Model.ESMBDDataContext db = new Model.ESMBDDataContext(); ESM.Model.ActaVisitaSE objActaVisitaSE = new Model.ActaVisitaSE { IdUsuario = idusuario, IdSE = idse, IdMedicion = idmedicion, }; db.ActaVisitaSEs.InsertOnSubmit(objActaVisitaSE); db.SubmitChanges(); return objActaVisitaSE.IdActaVisita; } catch (Exception) { return 0; } }
partial void UpdateActaVisitaSE(ActaVisitaSE instance);
partial void InsertActaVisitaSE(ActaVisitaSE instance);
private void detach_ActaVisitaSEs(ActaVisitaSE entity) { this.SendPropertyChanging(); entity.Usuario = null; }
private void detach_ActaVisitaSEs(ActaVisitaSE entity) { this.SendPropertyChanging(); entity.Secretaria_Educacion = null; }
private void detach_ActaVisitaSEs(ActaVisitaSE entity) { this.SendPropertyChanging(); entity.Medicione = null; }