Exemplo n.º 1
0
        public void BuildDoctorChannel(string username, NoticeUri uri)
        {
            echelperDBEntities context = new echelperDBEntities();

            context.Refresh(System.Data.Objects.RefreshMode.StoreWins, context.Doctor);
            Doctor doctor = context.Doctor.First(p => p.LiveID == username);

            doctor.Channel = uri.uri;
            context.SaveChanges();
        }
Exemplo n.º 2
0
        public void BuildPatientChannel(string username, NoticeUri uri)
        {
            echelperDBEntities context = new echelperDBEntities();

            context.Refresh(System.Data.Objects.RefreshMode.StoreWins, context.Patient);
            Patient patient = context.Patient.First(p => p.LiveID == username);

            patient.Channel = uri.uri;
            context.SaveChanges();
        }
Exemplo n.º 3
0
 public void BuildDoctorChannel(string username, NoticeUri uri)
 {
     echelperDBEntities context = new echelperDBEntities();
     context.Refresh(System.Data.Objects.RefreshMode.StoreWins, context.Doctor);
     Doctor doctor = context.Doctor.First(p => p.LiveID == username);
     doctor.Channel = uri.uri;
     context.SaveChanges();
 }
Exemplo n.º 4
0
 public void BuildPatientChannel(string username,NoticeUri uri) {
     echelperDBEntities context = new echelperDBEntities();
     context.Refresh(System.Data.Objects.RefreshMode.StoreWins, context.Patient);
     Patient patient = context.Patient.First(p => p.LiveID == username);
     patient.Channel = uri.uri;
     context.SaveChanges();
 }