Пример #1
0
 partial void DeleteActaVisitaSE(ActaVisitaSE instance);
Пример #2
0
        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;
            }
        }
Пример #3
0
 partial void UpdateActaVisitaSE(ActaVisitaSE instance);
Пример #4
0
 partial void InsertActaVisitaSE(ActaVisitaSE instance);
Пример #5
0
		private void detach_ActaVisitaSEs(ActaVisitaSE entity)
		{
			this.SendPropertyChanging();
			entity.Usuario = null;
		}
Пример #6
0
		private void detach_ActaVisitaSEs(ActaVisitaSE entity)
		{
			this.SendPropertyChanging();
			entity.Secretaria_Educacion = null;
		}
Пример #7
0
		private void detach_ActaVisitaSEs(ActaVisitaSE entity)
		{
			this.SendPropertyChanging();
			entity.Medicione = null;
		}