diff --git a/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Reference.cs b/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Reference.cs index d14c6e5..25d42c9 100644 --- a/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Reference.cs +++ b/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Reference.cs @@ -427,6 +427,9 @@ namespace WpfWebClient.ServiceReferenceEHEC { [System.Runtime.Serialization.OptionalFieldAttribute()] private WpfWebClient.ServiceReferenceEHEC.Person PatientField; + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int PatientAtFoodPlaceIDField; + [System.Runtime.Serialization.OptionalFieldAttribute()] private int PatientIDField; @@ -482,6 +485,19 @@ namespace WpfWebClient.ServiceReferenceEHEC { } } + [System.Runtime.Serialization.DataMemberAttribute()] + public int PatientAtFoodPlaceID { + get { + return this.PatientAtFoodPlaceIDField; + } + set { + if ((this.PatientAtFoodPlaceIDField.Equals(value) != true)) { + this.PatientAtFoodPlaceIDField = value; + this.RaisePropertyChanged("PatientAtFoodPlaceID"); + } + } + } + [System.Runtime.Serialization.DataMemberAttribute()] public int PatientID { get { diff --git a/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Service2.xsd b/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Service2.xsd index 0fa48e2..9931714 100644 --- a/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Service2.xsd +++ b/WebClient/WpfWebClient/Connected Services/ServiceReferenceEHEC/Service2.xsd @@ -48,6 +48,7 @@ + diff --git a/WebClient/WpfWebClient/Home.xaml.cs b/WebClient/WpfWebClient/Home.xaml.cs index 8214e44..32d5393 100644 --- a/WebClient/WpfWebClient/Home.xaml.cs +++ b/WebClient/WpfWebClient/Home.xaml.cs @@ -99,14 +99,12 @@ namespace WpfWebClient // create a bunch of people at foodplaces + var patientsatfps = GenerateTestData.CreatePatientAtFoodPlaces(); - - - - - - - + foreach (var f in patientsatfps) + { + client.WriteRelation(f); + }