update servicereference

This commit is contained in:
Strati 2018-08-30 21:07:15 +02:00
parent cf7d6fd0ba
commit e92f45f51c
3 changed files with 22 additions and 7 deletions

View File

@ -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 {

View File

@ -48,6 +48,7 @@
<xs:element minOccurs="0" name="FoodPlace" nillable="true" type="tns:FoodPlace" />
<xs:element minOccurs="0" name="FoodPlaceID" type="xs:int" />
<xs:element minOccurs="0" name="Patient" nillable="true" type="tns:Person" />
<xs:element minOccurs="0" name="PatientAtFoodPlaceID" type="xs:int" />
<xs:element minOccurs="0" name="PatientID" type="xs:int" />
<xs:element minOccurs="0" name="VistingDate" type="xs:dateTime" />
</xs:sequence>

View File

@ -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);
}