//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Client.EHEC_Service { using System.Runtime.Serialization; using System; [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Doctor", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Doctor : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int DoctorIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string DoctorOriginField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Exam[] ExamsField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string FirstNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string LastNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string RegionField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public int DoctorId { get { return this.DoctorIdField; } set { if ((this.DoctorIdField.Equals(value) != true)) { this.DoctorIdField = value; this.RaisePropertyChanged("DoctorId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string DoctorOrigin { get { return this.DoctorOriginField; } set { if ((object.ReferenceEquals(this.DoctorOriginField, value) != true)) { this.DoctorOriginField = value; this.RaisePropertyChanged("DoctorOrigin"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Exam[] Exams { get { return this.ExamsField; } set { if ((object.ReferenceEquals(this.ExamsField, value) != true)) { this.ExamsField = value; this.RaisePropertyChanged("Exams"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string FirstName { get { return this.FirstNameField; } set { if ((object.ReferenceEquals(this.FirstNameField, value) != true)) { this.FirstNameField = value; this.RaisePropertyChanged("FirstName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string LastName { get { return this.LastNameField; } set { if ((object.ReferenceEquals(this.LastNameField, value) != true)) { this.LastNameField = value; this.RaisePropertyChanged("LastName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Region { get { return this.RegionField; } set { if ((object.ReferenceEquals(this.RegionField, value) != true)) { this.RegionField = value; this.RaisePropertyChanged("Region"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Exam", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Exam : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Doctor DoctorField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int DoctorIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int ExamIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Origin_Exam[] Origin_ExamField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Patient PatientField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int PatientIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Result ResultField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int ResultIdField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Doctor Doctor { get { return this.DoctorField; } set { if ((object.ReferenceEquals(this.DoctorField, value) != true)) { this.DoctorField = value; this.RaisePropertyChanged("Doctor"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int DoctorId { get { return this.DoctorIdField; } set { if ((this.DoctorIdField.Equals(value) != true)) { this.DoctorIdField = value; this.RaisePropertyChanged("DoctorId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int ExamId { get { return this.ExamIdField; } set { if ((this.ExamIdField.Equals(value) != true)) { this.ExamIdField = value; this.RaisePropertyChanged("ExamId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Origin_Exam[] Origin_Exam { get { return this.Origin_ExamField; } set { if ((object.ReferenceEquals(this.Origin_ExamField, value) != true)) { this.Origin_ExamField = value; this.RaisePropertyChanged("Origin_Exam"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Patient Patient { get { return this.PatientField; } set { if ((object.ReferenceEquals(this.PatientField, value) != true)) { this.PatientField = value; this.RaisePropertyChanged("Patient"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int PatientId { get { return this.PatientIdField; } set { if ((this.PatientIdField.Equals(value) != true)) { this.PatientIdField = value; this.RaisePropertyChanged("PatientId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Result Result { get { return this.ResultField; } set { if ((object.ReferenceEquals(this.ResultField, value) != true)) { this.ResultField = value; this.RaisePropertyChanged("Result"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int ResultId { get { return this.ResultIdField; } set { if ((this.ResultIdField.Equals(value) != true)) { this.ResultIdField = value; this.RaisePropertyChanged("ResultId"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Patient", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Patient : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private System.DateTime BirthDateField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string CityField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Exam[] ExamsField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string FirstNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string LastNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int PatientIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string RegionField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string StreetField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime BirthDate { get { return this.BirthDateField; } set { if ((this.BirthDateField.Equals(value) != true)) { this.BirthDateField = value; this.RaisePropertyChanged("BirthDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string City { get { return this.CityField; } set { if ((object.ReferenceEquals(this.CityField, value) != true)) { this.CityField = value; this.RaisePropertyChanged("City"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Exam[] Exams { get { return this.ExamsField; } set { if ((object.ReferenceEquals(this.ExamsField, value) != true)) { this.ExamsField = value; this.RaisePropertyChanged("Exams"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string FirstName { get { return this.FirstNameField; } set { if ((object.ReferenceEquals(this.FirstNameField, value) != true)) { this.FirstNameField = value; this.RaisePropertyChanged("FirstName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string LastName { get { return this.LastNameField; } set { if ((object.ReferenceEquals(this.LastNameField, value) != true)) { this.LastNameField = value; this.RaisePropertyChanged("LastName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int PatientId { get { return this.PatientIdField; } set { if ((this.PatientIdField.Equals(value) != true)) { this.PatientIdField = value; this.RaisePropertyChanged("PatientId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Region { get { return this.RegionField; } set { if ((object.ReferenceEquals(this.RegionField, value) != true)) { this.RegionField = value; this.RaisePropertyChanged("Region"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Street { get { return this.StreetField; } set { if ((object.ReferenceEquals(this.StreetField, value) != true)) { this.StreetField = value; this.RaisePropertyChanged("Street"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Result", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Result : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Exam[] ExamsField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string NameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int ResultIdField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Exam[] Exams { get { return this.ExamsField; } set { if ((object.ReferenceEquals(this.ExamsField, value) != true)) { this.ExamsField = value; this.RaisePropertyChanged("Exams"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Name { get { return this.NameField; } set { if ((object.ReferenceEquals(this.NameField, value) != true)) { this.NameField = value; this.RaisePropertyChanged("Name"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int ResultId { get { return this.ResultIdField; } set { if ((this.ResultIdField.Equals(value) != true)) { this.ResultIdField = value; this.RaisePropertyChanged("ResultId"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Origin_Exam", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Origin_Exam : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Exam ExamField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int ExamIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Origin OriginField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int OriginIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int Origin_ExamIdField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Exam Exam { get { return this.ExamField; } set { if ((object.ReferenceEquals(this.ExamField, value) != true)) { this.ExamField = value; this.RaisePropertyChanged("Exam"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int ExamId { get { return this.ExamIdField; } set { if ((this.ExamIdField.Equals(value) != true)) { this.ExamIdField = value; this.RaisePropertyChanged("ExamId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Origin Origin { get { return this.OriginField; } set { if ((object.ReferenceEquals(this.OriginField, value) != true)) { this.OriginField = value; this.RaisePropertyChanged("Origin"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int OriginId { get { return this.OriginIdField; } set { if ((this.OriginIdField.Equals(value) != true)) { this.OriginIdField = value; this.RaisePropertyChanged("OriginId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int Origin_ExamId { get { return this.Origin_ExamIdField; } set { if ((this.Origin_ExamIdField.Equals(value) != true)) { this.Origin_ExamIdField = value; this.RaisePropertyChanged("Origin_ExamId"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Origin", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")] [System.SerializableAttribute()] public partial class Origin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string CityField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string FoodField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string NameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int OriginIdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private Client.EHEC_Service.Origin_Exam[] Origin_ExamField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string StreetField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public string City { get { return this.CityField; } set { if ((object.ReferenceEquals(this.CityField, value) != true)) { this.CityField = value; this.RaisePropertyChanged("City"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Food { get { return this.FoodField; } set { if ((object.ReferenceEquals(this.FoodField, value) != true)) { this.FoodField = value; this.RaisePropertyChanged("Food"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Name { get { return this.NameField; } set { if ((object.ReferenceEquals(this.NameField, value) != true)) { this.NameField = value; this.RaisePropertyChanged("Name"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int OriginId { get { return this.OriginIdField; } set { if ((this.OriginIdField.Equals(value) != true)) { this.OriginIdField = value; this.RaisePropertyChanged("OriginId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public Client.EHEC_Service.Origin_Exam[] Origin_Exam { get { return this.Origin_ExamField; } set { if ((object.ReferenceEquals(this.Origin_ExamField, value) != true)) { this.Origin_ExamField = value; this.RaisePropertyChanged("Origin_Exam"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Street { get { return this.StreetField; } set { if ((object.ReferenceEquals(this.StreetField, value) != true)) { this.StreetField = value; this.RaisePropertyChanged("Street"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="EHEC_Service.IService")] public interface IService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteDoctor", ReplyAction="http://tempuri.org/IService/WriteDoctorResponse")] Client.EHEC_Service.Doctor WriteDoctor(Client.EHEC_Service.Doctor doctor); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WritePatient", ReplyAction="http://tempuri.org/IService/WritePatientResponse")] Client.EHEC_Service.Patient WritePatient(Client.EHEC_Service.Patient patient); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteOrigin", ReplyAction="http://tempuri.org/IService/WriteOriginResponse")] Client.EHEC_Service.Origin WriteOrigin(Client.EHEC_Service.Origin origin); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteExam", ReplyAction="http://tempuri.org/IService/WriteExamResponse")] Client.EHEC_Service.Exam WriteExam(Client.EHEC_Service.Exam exam); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteOrigin_Exam", ReplyAction="http://tempuri.org/IService/WriteOrigin_ExamResponse")] Client.EHEC_Service.Origin_Exam WriteOrigin_Exam(Client.EHEC_Service.Origin_Exam origin_exam); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteResult", ReplyAction="http://tempuri.org/IService/WriteResultResponse")] Client.EHEC_Service.Result WriteResult(Client.EHEC_Service.Result result); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetResults", ReplyAction="http://tempuri.org/IService/GetResultsResponse")] Client.EHEC_Service.Result[] GetResults(); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IServiceChannel : Client.EHEC_Service.IService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class ServiceClient : System.ServiceModel.ClientBase, Client.EHEC_Service.IService { public ServiceClient() { } public ServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public ServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public ServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public ServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public Client.EHEC_Service.Doctor WriteDoctor(Client.EHEC_Service.Doctor doctor) { return base.Channel.WriteDoctor(doctor); } public Client.EHEC_Service.Patient WritePatient(Client.EHEC_Service.Patient patient) { return base.Channel.WritePatient(patient); } public Client.EHEC_Service.Origin WriteOrigin(Client.EHEC_Service.Origin origin) { return base.Channel.WriteOrigin(origin); } public Client.EHEC_Service.Exam WriteExam(Client.EHEC_Service.Exam exam) { return base.Channel.WriteExam(exam); } public Client.EHEC_Service.Origin_Exam WriteOrigin_Exam(Client.EHEC_Service.Origin_Exam origin_exam) { return base.Channel.WriteOrigin_Exam(origin_exam); } public Client.EHEC_Service.Result WriteResult(Client.EHEC_Service.Result result) { return base.Channel.WriteResult(result); } public Client.EHEC_Service.Result[] GetResults() { return base.Channel.GetResults(); } } }