public void Insert(int IdAgenda, int IdEfector, string HoraTurno, DateTime ReservaHasta) { ConTurnoReservaInterconsultum item = new ConTurnoReservaInterconsultum(); item.IdAgenda = IdAgenda; item.IdEfector = IdEfector; item.HoraTurno = HoraTurno; item.ReservaHasta = ReservaHasta; item.Save(UserName); }
public void Update(int IdInterconsulta, int IdAgenda, int IdEfector, string HoraTurno, DateTime ReservaHasta) { ConTurnoReservaInterconsultum item = new ConTurnoReservaInterconsultum(); item.MarkOld(); item.IsLoaded = true; item.IdInterconsulta = IdInterconsulta; item.IdAgenda = IdAgenda; item.IdEfector = IdEfector; item.HoraTurno = HoraTurno; item.ReservaHasta = ReservaHasta; item.Save(UserName); }
public bool Destroy(object IdInterconsulta) { return(ConTurnoReservaInterconsultum.Destroy(IdInterconsulta) == 1); }