示例#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;
		}