first working entity patient takes place in db.
This commit is contained in:
parent
fce77416c3
commit
8051a4ea2f
|
@ -3,39 +3,16 @@
|
|||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||
</startup>
|
||||
<system.serviceModel>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding name="BasicHttpBinding_IServerService" />
|
||||
<binding name="BasicHttpBinding_IService" />
|
||||
</basicHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://localhost:58304/ServerService.svc"
|
||||
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServerService"
|
||||
contract="ServiceReference1.IServerService" name="BasicHttpBinding_IServerService" />
|
||||
<endpoint address="http://localhost:50200/Service.svc" binding="basicHttpBinding"
|
||||
bindingConfiguration="BasicHttpBinding_IService" contract="EHEC_Service.IService"
|
||||
name="BasicHttpBinding_IService" />
|
||||
</client>
|
||||
<behaviors>
|
||||
<serviceBehaviors>
|
||||
<behavior name="">
|
||||
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
|
||||
<serviceDebug includeExceptionDetailInFaults="false" />
|
||||
</behavior>
|
||||
</serviceBehaviors>
|
||||
</behaviors>
|
||||
<services>
|
||||
<service name="Client.EHECService">
|
||||
<endpoint address="" binding="basicHttpBinding" contract="Client.IEHECService">
|
||||
<identity>
|
||||
<dns value="localhost" />
|
||||
</identity>
|
||||
</endpoint>
|
||||
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
||||
<host>
|
||||
<baseAddresses>
|
||||
<add baseAddress="http://localhost:8733/Design_Time_Addresses/Client/EHECService/" />
|
||||
</baseAddresses>
|
||||
</host>
|
||||
</service>
|
||||
</services>
|
||||
</system.serviceModel>
|
||||
</configuration>
|
|
@ -82,7 +82,7 @@
|
|||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ServiceReference1\Reference.cs">
|
||||
<Compile Include="Connected Services\EHEC_Service\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
|
@ -110,8 +110,17 @@
|
|||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Connected Services\ServiceReference1\ServerService.wsdl" />
|
||||
<None Include="Connected Services\ServiceReference1\ServerService.xsd">
|
||||
<None Include="Connected Services\EHEC_Service\Service.wsdl" />
|
||||
<None Include="Connected Services\EHEC_Service\Service.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Connected Services\EHEC_Service\Service1.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Connected Services\EHEC_Service\Service2.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Connected Services\EHEC_Service\Service3.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
|
@ -127,19 +136,19 @@
|
|||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadataStorage Include="Connected Services\ServiceReference1\" />
|
||||
<WCFMetadataStorage Include="Connected Services\EHEC_Service\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\ServiceReference1\ServerService.disco" />
|
||||
<None Include="Connected Services\EHEC_Service\Service.disco" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\ServiceReference1\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\EHEC_Service\configuration91.svcinfo" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\ServiceReference1\configuration.svcinfo" />
|
||||
<None Include="Connected Services\EHEC_Service\configuration.svcinfo" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\ServiceReference1\Reference.svcmap">
|
||||
<None Include="Connected Services\EHEC_Service\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
|
|
|
@ -0,0 +1,924 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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="DoctorAccess", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Runtime.Serialization.KnownTypeAttribute(typeof(Client.EHEC_Service.Doctor))]
|
||||
public partial class DoctorAccess : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
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="Doctor", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server")]
|
||||
[System.SerializableAttribute()]
|
||||
public partial class Doctor : Client.EHEC_Service.DoctorAccess {
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private int DoctorIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string DoctorOriginField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private Client.EHEC_Service.Exam[] ExamField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string FirstNameField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string LastNameField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string RegionField;
|
||||
|
||||
[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[] Exam {
|
||||
get {
|
||||
return this.ExamField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.ExamField, value) != true)) {
|
||||
this.ExamField = value;
|
||||
this.RaisePropertyChanged("Exam");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 : Client.EHEC_Service.ExamAccess {
|
||||
|
||||
[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 int OriginOriginIdField;
|
||||
|
||||
[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 Result_ResultIdField;
|
||||
|
||||
[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 int OriginOriginId {
|
||||
get {
|
||||
return this.OriginOriginIdField;
|
||||
}
|
||||
set {
|
||||
if ((this.OriginOriginIdField.Equals(value) != true)) {
|
||||
this.OriginOriginIdField = value;
|
||||
this.RaisePropertyChanged("OriginOriginId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 Result_ResultId {
|
||||
get {
|
||||
return this.Result_ResultIdField;
|
||||
}
|
||||
set {
|
||||
if ((this.Result_ResultIdField.Equals(value) != true)) {
|
||||
this.Result_ResultIdField = value;
|
||||
this.RaisePropertyChanged("Result_ResultId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Name="ExamAccess", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Runtime.Serialization.KnownTypeAttribute(typeof(Client.EHEC_Service.Exam))]
|
||||
public partial class ExamAccess : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
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 : Client.EHEC_Service.PatientAccess {
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.DateTime BirthDateField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string CityField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private Client.EHEC_Service.Exam[] ExamField;
|
||||
|
||||
[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;
|
||||
|
||||
[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[] Exam {
|
||||
get {
|
||||
return this.ExamField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.ExamField, value) != true)) {
|
||||
this.ExamField = value;
|
||||
this.RaisePropertyChanged("Exam");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 : Client.EHEC_Service.ResultAccess {
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private Client.EHEC_Service.Exam[] ExamField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string NameField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private int ResultIdField;
|
||||
|
||||
[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 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 ExamExamIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private Client.EHEC_Service.Origin OriginField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private int OriginOriginIdField;
|
||||
|
||||
[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 ExamExamId {
|
||||
get {
|
||||
return this.ExamExamIdField;
|
||||
}
|
||||
set {
|
||||
if ((this.ExamExamIdField.Equals(value) != true)) {
|
||||
this.ExamExamIdField = value;
|
||||
this.RaisePropertyChanged("ExamExamId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 OriginOriginId {
|
||||
get {
|
||||
return this.OriginOriginIdField;
|
||||
}
|
||||
set {
|
||||
if ((this.OriginOriginIdField.Equals(value) != true)) {
|
||||
this.OriginOriginIdField = value;
|
||||
this.RaisePropertyChanged("OriginOriginId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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 : Client.EHEC_Service.OriginAccess {
|
||||
|
||||
[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;
|
||||
|
||||
[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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Name="OriginAccess", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Runtime.Serialization.KnownTypeAttribute(typeof(Client.EHEC_Service.Origin))]
|
||||
public partial class OriginAccess : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
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="PatientAccess", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Runtime.Serialization.KnownTypeAttribute(typeof(Client.EHEC_Service.Patient))]
|
||||
public partial class PatientAccess : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
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="ResultAccess", Namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Runtime.Serialization.KnownTypeAttribute(typeof(Client.EHEC_Service.Result))]
|
||||
public partial class ResultAccess : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
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")]
|
||||
void WriteDoctor(Client.EHEC_Service.Doctor doctor);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteDoctor", ReplyAction="http://tempuri.org/IService/WriteDoctorResponse")]
|
||||
System.Threading.Tasks.Task WriteDoctorAsync(Client.EHEC_Service.Doctor doctor);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WritePatient", ReplyAction="http://tempuri.org/IService/WritePatientResponse")]
|
||||
void WritePatient(Client.EHEC_Service.Patient patient);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WritePatient", ReplyAction="http://tempuri.org/IService/WritePatientResponse")]
|
||||
System.Threading.Tasks.Task WritePatientAsync(Client.EHEC_Service.Patient patient);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteOrigin", ReplyAction="http://tempuri.org/IService/WriteOriginResponse")]
|
||||
void WriteOrigin(Client.EHEC_Service.Origin origin);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteOrigin", ReplyAction="http://tempuri.org/IService/WriteOriginResponse")]
|
||||
System.Threading.Tasks.Task WriteOriginAsync(Client.EHEC_Service.Origin origin);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteExam", ReplyAction="http://tempuri.org/IService/WriteExamResponse")]
|
||||
void WriteExam(Client.EHEC_Service.Exam exam);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteExam", ReplyAction="http://tempuri.org/IService/WriteExamResponse")]
|
||||
System.Threading.Tasks.Task WriteExamAsync(Client.EHEC_Service.Exam exam);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteResult", ReplyAction="http://tempuri.org/IService/WriteResultResponse")]
|
||||
void WriteResult(Client.EHEC_Service.Result result);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/WriteResult", ReplyAction="http://tempuri.org/IService/WriteResultResponse")]
|
||||
System.Threading.Tasks.Task WriteResultAsync(Client.EHEC_Service.Result result);
|
||||
}
|
||||
|
||||
[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>, 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 void WriteDoctor(Client.EHEC_Service.Doctor doctor) {
|
||||
base.Channel.WriteDoctor(doctor);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task WriteDoctorAsync(Client.EHEC_Service.Doctor doctor) {
|
||||
return base.Channel.WriteDoctorAsync(doctor);
|
||||
}
|
||||
|
||||
public void WritePatient(Client.EHEC_Service.Patient patient) {
|
||||
base.Channel.WritePatient(patient);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task WritePatientAsync(Client.EHEC_Service.Patient patient) {
|
||||
return base.Channel.WritePatientAsync(patient);
|
||||
}
|
||||
|
||||
public void WriteOrigin(Client.EHEC_Service.Origin origin) {
|
||||
base.Channel.WriteOrigin(origin);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task WriteOriginAsync(Client.EHEC_Service.Origin origin) {
|
||||
return base.Channel.WriteOriginAsync(origin);
|
||||
}
|
||||
|
||||
public void WriteExam(Client.EHEC_Service.Exam exam) {
|
||||
base.Channel.WriteExam(exam);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task WriteExamAsync(Client.EHEC_Service.Exam exam) {
|
||||
return base.Channel.WriteExamAsync(exam);
|
||||
}
|
||||
|
||||
public void WriteResult(Client.EHEC_Service.Result result) {
|
||||
base.Channel.WriteResult(result);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task WriteResultAsync(Client.EHEC_Service.Result result) {
|
||||
return base.Channel.WriteResultAsync(result);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="534f788b-c5fe-481c-bffe-c254d9c791d6" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://localhost:50200/Service.svc" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="Service.xsd" MetadataType="Schema" ID="3c3c5e80-e8b1-4d29-8c86-ee9e12fcbca2" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?xsd=xsd3" />
|
||||
<MetadataFile FileName="Service.disco" MetadataType="Disco" ID="215c1eff-27c5-44da-8d9c-29811a8671fe" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?disco" />
|
||||
<MetadataFile FileName="Service1.xsd" MetadataType="Schema" ID="0b881029-da3a-4689-80c9-21e251d4c6a2" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="Service2.xsd" MetadataType="Schema" ID="b4a292fd-bb29-4b36-bbf6-682bad3b3ad2" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?xsd=xsd1" />
|
||||
<MetadataFile FileName="Service3.xsd" MetadataType="Schema" ID="dacd1ca3-36e4-4dab-86ac-6adfd901314d" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?xsd=xsd2" />
|
||||
<MetadataFile FileName="Service.wsdl" MetadataType="Wsdl" ID="336b045c-efa8-4e27-a59f-38d02a0e7e77" SourceId="1" SourceUrl="http://localhost:50200/Service.svc?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://localhost:58304/ServerService.svc?wsdl" docRef="http://localhost:58304/ServerService.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<contractRef ref="http://localhost:50200/Service.svc?wsdl" docRef="http://localhost:50200/Service.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
</discovery>
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Service" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<xsd:schema targetNamespace="http://tempuri.org/Imports">
|
||||
<xsd:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
<xsd:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xsd:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/EHEC_Server" />
|
||||
<xsd:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" />
|
||||
</xsd:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="IService_WriteDoctor_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteDoctor" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteDoctor_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteDoctorResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WritePatient_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WritePatient" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WritePatient_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WritePatientResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteOrigin_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteOrigin" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteOrigin_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteOriginResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteExam_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteExam" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteExam_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteExamResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteResult_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteResult" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IService_WriteResult_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:WriteResultResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="IService">
|
||||
<wsdl:operation name="WriteDoctor">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IService/WriteDoctor" message="tns:IService_WriteDoctor_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IService/WriteDoctorResponse" message="tns:IService_WriteDoctor_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WritePatient">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IService/WritePatient" message="tns:IService_WritePatient_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IService/WritePatientResponse" message="tns:IService_WritePatient_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteOrigin">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IService/WriteOrigin" message="tns:IService_WriteOrigin_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IService/WriteOriginResponse" message="tns:IService_WriteOrigin_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteExam">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IService/WriteExam" message="tns:IService_WriteExam_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IService/WriteExamResponse" message="tns:IService_WriteExam_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteResult">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IService/WriteResult" message="tns:IService_WriteResult_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IService/WriteResultResponse" message="tns:IService_WriteResult_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="BasicHttpBinding_IService" type="tns:IService">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="WriteDoctor">
|
||||
<soap:operation soapAction="http://tempuri.org/IService/WriteDoctor" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WritePatient">
|
||||
<soap:operation soapAction="http://tempuri.org/IService/WritePatient" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteOrigin">
|
||||
<soap:operation soapAction="http://tempuri.org/IService/WriteOrigin" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteExam">
|
||||
<soap:operation soapAction="http://tempuri.org/IService/WriteExam" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WriteResult">
|
||||
<soap:operation soapAction="http://tempuri.org/IService/WriteResult" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="Service">
|
||||
<wsdl:port name="BasicHttpBinding_IService" binding="tns:BasicHttpBinding_IService">
|
||||
<soap:address location="http://localhost:50200/Service.svc" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:complexType name="DoctorAccess">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="DoctorAccess" nillable="true" type="tns:DoctorAccess" />
|
||||
<xs:complexType name="ExamAccess">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="ExamAccess" nillable="true" type="tns:ExamAccess" />
|
||||
<xs:complexType name="OriginAccess">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="OriginAccess" nillable="true" type="tns:OriginAccess" />
|
||||
<xs:complexType name="PatientAccess">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="PatientAccess" nillable="true" type="tns:PatientAccess" />
|
||||
<xs:complexType name="ResultAccess">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="ResultAccess" nillable="true" type="tns:ResultAccess" />
|
||||
</xs:schema>
|
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/EHEC_Server" />
|
||||
<xs:element name="WriteDoctor">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/EHEC_Server" minOccurs="0" name="doctor" nillable="true" type="q1:Doctor" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteDoctorResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WritePatient">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/EHEC_Server" minOccurs="0" name="patient" nillable="true" type="q2:Patient" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WritePatientResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteOrigin">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/EHEC_Server" minOccurs="0" name="origin" nillable="true" type="q3:Origin" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteOriginResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteExam">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/EHEC_Server" minOccurs="0" name="exam" nillable="true" type="q4:Exam" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteExamResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteResult">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/EHEC_Server" minOccurs="0" name="result" nillable="true" type="q5:Result" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="WriteResultResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="anyType" nillable="true" type="xs:anyType" />
|
||||
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
|
||||
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element name="boolean" nillable="true" type="xs:boolean" />
|
||||
<xs:element name="byte" nillable="true" type="xs:byte" />
|
||||
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
|
||||
<xs:element name="decimal" nillable="true" type="xs:decimal" />
|
||||
<xs:element name="double" nillable="true" type="xs:double" />
|
||||
<xs:element name="float" nillable="true" type="xs:float" />
|
||||
<xs:element name="int" nillable="true" type="xs:int" />
|
||||
<xs:element name="long" nillable="true" type="xs:long" />
|
||||
<xs:element name="QName" nillable="true" type="xs:QName" />
|
||||
<xs:element name="short" nillable="true" type="xs:short" />
|
||||
<xs:element name="string" nillable="true" type="xs:string" />
|
||||
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
|
||||
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
|
||||
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
|
||||
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
|
||||
<xs:element name="char" nillable="true" type="tns:char" />
|
||||
<xs:simpleType name="char">
|
||||
<xs:restriction base="xs:int" />
|
||||
</xs:simpleType>
|
||||
<xs:element name="duration" nillable="true" type="tns:duration" />
|
||||
<xs:simpleType name="duration">
|
||||
<xs:restriction base="xs:duration">
|
||||
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
|
||||
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
|
||||
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:element name="guid" nillable="true" type="tns:guid" />
|
||||
<xs:simpleType name="guid">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:attribute name="FactoryType" type="xs:QName" />
|
||||
<xs:attribute name="Id" type="xs:ID" />
|
||||
<xs:attribute name="Ref" type="xs:IDREF" />
|
||||
</xs:schema>
|
|
@ -0,0 +1,103 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EHEC_Server" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EHEC_Server" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://localhost:50200/Service.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" />
|
||||
<xs:complexType name="Doctor">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" base="q1:DoctorAccess">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="DoctorId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="DoctorOrigin" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Exam" nillable="true" type="tns:ArrayOfExam" />
|
||||
<xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Region" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="Doctor" nillable="true" type="tns:Doctor" />
|
||||
<xs:complexType name="ArrayOfExam">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Exam" nillable="true" type="tns:Exam" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfExam" nillable="true" type="tns:ArrayOfExam" />
|
||||
<xs:complexType name="Exam">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" base="q2:ExamAccess">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Doctor" nillable="true" type="tns:Doctor" />
|
||||
<xs:element minOccurs="0" name="DoctorId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="ExamId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="OriginOriginId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Origin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
|
||||
<xs:element minOccurs="0" name="Patient" nillable="true" type="tns:Patient" />
|
||||
<xs:element minOccurs="0" name="PatientId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Result" nillable="true" type="tns:Result" />
|
||||
<xs:element minOccurs="0" name="Result_ResultId" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="Exam" nillable="true" type="tns:Exam" />
|
||||
<xs:complexType name="ArrayOfOrigin_Exam">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Origin_Exam" nillable="true" type="tns:Origin_Exam" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfOrigin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
|
||||
<xs:complexType name="Origin_Exam">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Exam" nillable="true" type="tns:Exam" />
|
||||
<xs:element minOccurs="0" name="ExamExamId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Origin" nillable="true" type="tns:Origin" />
|
||||
<xs:element minOccurs="0" name="OriginOriginId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Origin_ExamId" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Origin_Exam" nillable="true" type="tns:Origin_Exam" />
|
||||
<xs:complexType name="Origin">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" base="q3:OriginAccess">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Food" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="OriginId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Origin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
|
||||
<xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="Origin" nillable="true" type="tns:Origin" />
|
||||
<xs:complexType name="Patient">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" base="q4:PatientAccess">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="BirthDate" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Exam" nillable="true" type="tns:ArrayOfExam" />
|
||||
<xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="PatientId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Region" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="Patient" nillable="true" type="tns:Patient" />
|
||||
<xs:complexType name="Result">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/EHEC_Server.DatabaseAccess" base="q5:ResultAccess">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Exam" nillable="true" type="tns:ArrayOfExam" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="ResultId" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="Result" nillable="true" type="tns:Result" />
|
||||
</xs:schema>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="BasicHttpBinding_IService" />" bindingType="basicHttpBinding" name="BasicHttpBinding_IService" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:50200/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="EHEC_Service.IService" name="BasicHttpBinding_IService" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:50200/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="EHEC_Service.IService" name="BasicHttpBinding_IService" />" contractName="EHEC_Service.IService" name="BasicHttpBinding_IService" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Y80+zznV1iVeBc8WwZm/nuh0z0o=">
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="oifSwuWIKt//F1o+7ST38HkilHA=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IServerService">
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IService">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>BasicHttpBinding_IServerService</serializedValue>
|
||||
<serializedValue>BasicHttpBinding_IService</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
@ -112,10 +112,10 @@
|
|||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="BasicHttpBinding_IServerService" contract="ServiceReference1.IServerService" bindingType="basicHttpBinding" address="http://localhost:58304/ServerService.svc" bindingConfiguration="BasicHttpBinding_IServerService">
|
||||
<endpoint name="BasicHttpBinding_IService" contract="EHEC_Service.IService" bindingType="basicHttpBinding" address="http://localhost:50200/Service.svc" bindingConfiguration="BasicHttpBinding_IService">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://localhost:58304/ServerService.svc</serializedValue>
|
||||
<serializedValue>http://localhost:50200/Service.svc</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
@ -124,10 +124,10 @@
|
|||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>BasicHttpBinding_IServerService</serializedValue>
|
||||
<serializedValue>BasicHttpBinding_IService</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ServiceReference1.IServerService</serializedValue>
|
||||
<serializedValue>EHEC_Service.IService</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
|
@ -187,7 +187,7 @@
|
|||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>BasicHttpBinding_IServerService</serializedValue>
|
||||
<serializedValue>BasicHttpBinding_IService</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
|
@ -1,60 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Client.ServiceReference1 {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.IServerService")]
|
||||
public interface IServerService {
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServerService/DoWork", ReplyAction="http://tempuri.org/IServerService/DoWorkResponse")]
|
||||
void DoWork();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServerService/DoWork", ReplyAction="http://tempuri.org/IServerService/DoWorkResponse")]
|
||||
System.Threading.Tasks.Task DoWorkAsync();
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface IServerServiceChannel : Client.ServiceReference1.IServerService, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class ServerServiceClient : System.ServiceModel.ClientBase<Client.ServiceReference1.IServerService>, Client.ServiceReference1.IServerService {
|
||||
|
||||
public ServerServiceClient() {
|
||||
}
|
||||
|
||||
public ServerServiceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public ServerServiceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public ServerServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public ServerServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
public void DoWork() {
|
||||
base.Channel.DoWork();
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task DoWorkAsync() {
|
||||
return base.Channel.DoWorkAsync();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="0e00403a-54a4-4801-9a4f-fab5ed80f2f6" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://localhost:58304/ServerService.svc" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="ServerService.wsdl" MetadataType="Wsdl" ID="4ac654b1-87aa-49c1-ad47-237b3fe312bf" SourceId="1" SourceUrl="http://localhost:58304/ServerService.svc?wsdl" />
|
||||
<MetadataFile FileName="ServerService.xsd" MetadataType="Schema" ID="83566776-1d1c-447b-9614-65adf462689b" SourceId="1" SourceUrl="http://localhost:58304/ServerService.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="ServerService.disco" MetadataType="Disco" ID="b8f0a69e-0953-4a88-aa92-2ee6bfb9dc22" SourceId="1" SourceUrl="http://localhost:58304/ServerService.svc?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
|
@ -1,37 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServerService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<xsd:schema targetNamespace="http://tempuri.org/Imports">
|
||||
<xsd:import schemaLocation="http://localhost:58304/ServerService.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
</xsd:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="IServerService_DoWork_InputMessage">
|
||||
<wsdl:part name="parameters" element="tns:DoWork" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="IServerService_DoWork_OutputMessage">
|
||||
<wsdl:part name="parameters" element="tns:DoWorkResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="IServerService">
|
||||
<wsdl:operation name="DoWork">
|
||||
<wsdl:input wsaw:Action="http://tempuri.org/IServerService/DoWork" message="tns:IServerService_DoWork_InputMessage" />
|
||||
<wsdl:output wsaw:Action="http://tempuri.org/IServerService/DoWorkResponse" message="tns:IServerService_DoWork_OutputMessage" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="BasicHttpBinding_IServerService" type="tns:IServerService">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="DoWork">
|
||||
<soap:operation soapAction="http://tempuri.org/IServerService/DoWork" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="ServerService">
|
||||
<wsdl:port name="BasicHttpBinding_IServerService" binding="tns:BasicHttpBinding_IServerService">
|
||||
<soap:address location="http://localhost:58304/ServerService.svc" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="DoWork">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DoWorkResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="BasicHttpBinding_IServerService" />" bindingType="basicHttpBinding" name="BasicHttpBinding_IServerService" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:58304/ServerService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServerService" contract="ServiceReference1.IServerService" name="BasicHttpBinding_IServerService" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:58304/ServerService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServerService" contract="ServiceReference1.IServerService" name="BasicHttpBinding_IServerService" />" contractName="ServiceReference1.IServerService" name="BasicHttpBinding_IServerService" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
|
@ -6,8 +6,8 @@
|
|||
xmlns:local="clr-namespace:Client"
|
||||
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="447.728" Width="800" WindowStyle="None" ShowInTaskbar="False" WindowStartupLocation="CenterScreen">
|
||||
<Grid Margin="0,0,-5,-4">
|
||||
Title="MainWindow" Height="482.318" Width="800" WindowStyle="None" ShowInTaskbar="False" WindowStartupLocation="CenterScreen">
|
||||
<Grid Margin="0,0,-5.4,4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="159*"/>
|
||||
<ColumnDefinition/>
|
||||
|
@ -17,178 +17,178 @@
|
|||
<Label x:Name="LabelPatient" Content="Patient:" HorizontalAlignment="Left" Margin="23,244,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.582,0.288" Height="26" Width="49"/>
|
||||
<Label x:Name="LabelAnalyseergebnisse" Content="Analyseergebnisse:" HorizontalAlignment="Left" Margin="267,86,0,0" VerticalAlignment="Top" Height="26" Width="110"/>
|
||||
<Label x:Name="LabelNahrungseinnahmen" Content="Nahrungseinnahmen:" HorizontalAlignment="Left" Margin="265,249,0,0" VerticalAlignment="Top" Height="26" Width="124"/>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztname" Margin="77,55,533,364.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztname" Margin="76,56,533.4,391" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Name" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<Button x:Name="ButtonClose" Content="X" HorizontalAlignment="Left" Margin="753,10,0,409.5" Width="27" Click="ButtonClose_Click" Background="White" RenderTransformOrigin="0.573,1.105"/>
|
||||
<Button x:Name="ButtonClose" Content="X" HorizontalAlignment="Left" Margin="755,21,0,426" Width="25" Click="ButtonClose_Click" Background="White" RenderTransformOrigin="0.573,1.105" Height="25"/>
|
||||
<Button x:Name="ButtonAutogenerateOne" Content="Auto One" HorizontalAlignment="Left" Margin="578,146,0,0" VerticalAlignment="Top" Width="70" Background="White" BorderBrush="White" Foreground="White" Height="46"/>
|
||||
<Button x:Name="ButtonSend" Content="Senden" HorizontalAlignment="Left" Margin="705,412,0,0" VerticalAlignment="Top" Width="75" Click="ButtonSend_Click" Background="White" Height="20"/>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztVorname" Margin="77,86,533,333.5" FontSize="10" Padding="3,1">
|
||||
<Button x:Name="ButtonSend" Content="Senden" HorizontalAlignment="Left" Margin="705,442,0,0" VerticalAlignment="Top" Width="75" Click="ButtonSend_Click" Background="White" Height="20"/>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztVorname" Margin="76,87,533.4,360" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Vorname" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztStrasseNr" Margin="77,116,533,303.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztStrasseNr" Margin="76,117,533.4,330" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Strasse Nr" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztPlz" Margin="77,147,644,272.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztPlz" Margin="76,148,644.4,299" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="PLZ" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztOrt" Margin="150,147,533,272.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztOrt" Margin="149,148,533.4,299" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztKantonsarzt" Margin="77,178,533,241.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztKantonsarzt" Margin="76,179,533.4,268" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Kantonsarzt" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztRegion" Margin="77,209,533,210.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxArztRegion" Margin="76,210,533.4,237" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Arzt" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientName" Margin="77,249,533,170.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientName" Margin="76,250,533.4,197" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Name" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientVorname" Margin="77,282,533,137.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientVorname" Margin="76,283,533.4,164" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Vorname" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientStrasseNr" Margin="77,314,533,105.5" FontSize="10" Padding="4,1,3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientStrasseNr" Margin="76,315,533.4,132" FontSize="10" Padding="4,1,3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Strasse Nr" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientPlz" Margin="77,346,644,73.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientPlz" Margin="76,347,644.4,100" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="PLZ" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientOrt" Margin="150,346,533,73.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientOrt" Margin="149,347,533.4,100" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientRegion" Margin="77,377,533,42.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientRegion" Margin="76,378,533.4,69" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Region" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxBakterienstamm" Margin="394,86,256,333.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxBakterienstamm" Margin="393,87,256.4,360" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Bakterienstamm" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung1Restaurant" Margin="394,249,256,170.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung1Restaurant" Margin="393,250,256.4,197" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Restaurant 1" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung1Ort" Margin="578,249,72,170.5" FontSize="10">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung1Ort" Margin="577,250,72.4,197" FontSize="10" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung2Restaurant" Margin="394,282,256,137.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung2Restaurant" Margin="393,283,256.4,164" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Restaurant 2" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung2Ort" Margin="578,282,72,137.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung2Ort" Margin="577,283,72.4,164" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung3Restaurant" Margin="394,314,256,105.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung3Restaurant" Margin="393,315,256.4,132" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Restaurant 3" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung3Ort" Margin="578,314,72,105.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung3Ort" Margin="577,315,72.4,132" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung4Restaurant" Margin="394,346,256,73.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung4Restaurant" Margin="393,347,256.4,100" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Restaurant 4" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung4Ort" Margin="578,346,72,73.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung4Ort" Margin="577,347,72.4,100" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung5Restaurant" Margin="394,380,256,39.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung5Restaurant" Margin="393,381,256.4,66" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Restaurant 5" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung5Ort" Margin="578,380,72,39.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxNahrung5Ort" Margin="577,381,72.4,66" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Ort" Margin="2,0,0,0" />
|
||||
</StackPanel>
|
||||
</xctk:WatermarkTextBox.Watermark>
|
||||
</xctk:WatermarkTextBox>
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientGeburtstag" Margin="77,409,533,10.5" FontSize="10" Padding="3,1">
|
||||
<xctk:WatermarkTextBox x:Name="TextboxPatientGeburtstag" Margin="76,410,533.4,37" FontSize="10" Padding="3,1" Height="25">
|
||||
<xctk:WatermarkTextBox.Watermark>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Geburtstag" Margin="2,0,0,0" />
|
||||
|
|
|
@ -13,6 +13,7 @@ using System.Windows.Media.Imaging;
|
|||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Xceed.Wpf.Toolkit;
|
||||
using Client.EHEC_Service;
|
||||
|
||||
namespace Client
|
||||
{
|
||||
|
@ -32,33 +33,66 @@ namespace Client
|
|||
}
|
||||
private void ButtonSend_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
ServiceClient servize = new ServiceClient("BasicHttpBinding_IService");
|
||||
|
||||
String arztName = TextboxArztname.Text;
|
||||
String arztVorname = TextboxArztVorname.Text;
|
||||
String arztStrasseNr = TextboxArztStrasseNr.Text;
|
||||
String arztPlz = TextboxArztPlz.Text;
|
||||
String arztOrt = TextboxArztOrt.Text;
|
||||
String arztKantonsarzt = TextboxArztKantonsarzt.Text;
|
||||
String arztRegion = TextboxArztRegion.Text;
|
||||
String patientName = TextboxPatientName.Text;
|
||||
String patientVorname = TextboxPatientVorname.Text;
|
||||
String patientStrasseNr = TextboxPatientStrasseNr.Text;
|
||||
String patientPlz = TextboxPatientPlz.Text;
|
||||
String patientOrt = TextboxPatientOrt.Text;
|
||||
String patientRegion = TextboxPatientRegion.Text;
|
||||
DateTime patientGeburtstag = Convert.ToDateTime(TextboxPatientGeburtstag.Text);
|
||||
String Bakterienstamm = TextboxBakterienstamm.Text;
|
||||
String Nahrung1Restaurant = TextboxNahrung1Restaurant.Text;
|
||||
String Nahrung2Restaurant = TextboxNahrung2Restaurant.Text;
|
||||
String Nahrung3Restaurant = TextboxNahrung3Restaurant.Text;
|
||||
String Nahrung4Restaurant = TextboxNahrung4Restaurant.Text;
|
||||
String Nahrung5Restaurant = TextboxNahrung5Restaurant.Text;
|
||||
|
||||
Patient p = new Patient
|
||||
{
|
||||
BirthDate = patientGeburtstag,
|
||||
City = patientOrt,
|
||||
FirstName = patientVorname,
|
||||
LastName = patientName,
|
||||
Street = patientStrasseNr,
|
||||
Region = patientRegion
|
||||
};
|
||||
servize.WritePatient(p);
|
||||
}
|
||||
|
||||
//private void TextChanged(object sender, KeyboardFocusChangedEventArgs e)
|
||||
//{
|
||||
// if (((TextBox)sender).Text.Length == 0)
|
||||
// ((TextBox)sender).Text = ((TextBox)sender).Text.ToString();
|
||||
//}
|
||||
|
||||
//private void TextInputs(object sender, EventArgs e)
|
||||
//{
|
||||
// if ((((TextBox)sender).Text) == (((TextBox)sender).Text))
|
||||
// ((TextBox)sender).Text = string.Empty;
|
||||
// ((TextBox)sender).SelectionStart = 1;
|
||||
//}
|
||||
|
||||
//private void TextboxArztName_LostFocus(object sender, KeyboardFocusChangedEventArgs e) => TextChanged(sender, e);
|
||||
|
||||
//private void TextboxArztName_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
//{
|
||||
// TextInputs(sender, e);
|
||||
// //TextboxArztName.Text = string.Empty;
|
||||
//}
|
||||
//private void TextboxArztName_PreviewTextInput(object sender, TextCompositionEventArgs e)
|
||||
//{
|
||||
// TextInputs(sender, e);
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
//private void TextChanged(object sender, KeyboardFocusChangedEventArgs e)
|
||||
//{
|
||||
// if (((TextBox)sender).Text.Length == 0)
|
||||
// ((TextBox)sender).Text = ((TextBox)sender).Text.ToString();
|
||||
//}
|
||||
|
||||
//private void TextInputs(object sender, EventArgs e)
|
||||
//{
|
||||
// if ((((TextBox)sender).Text) == (((TextBox)sender).Text))
|
||||
// ((TextBox)sender).Text = string.Empty;
|
||||
// ((TextBox)sender).SelectionStart = 1;
|
||||
//}
|
||||
|
||||
//private void TextboxArztName_LostFocus(object sender, KeyboardFocusChangedEventArgs e) => TextChanged(sender, e);
|
||||
|
||||
//private void TextboxArztName_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
//{
|
||||
// TextInputs(sender, e);
|
||||
// //TextboxArztName.Text = string.Empty;
|
||||
//}
|
||||
//private void TextboxArztName_PreviewTextInput(object sender, TextCompositionEventArgs e)
|
||||
//{
|
||||
// TextInputs(sender, e);
|
||||
//}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
||||
</system.serviceModel>
|
||||
<connectionStrings>
|
||||
<add name="EHEC_DBEntities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source=LAPTOP-S6N189QG;initial catalog=EHEC_DB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
|
||||
<add name="EHEC_DBEntities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source=.\SQLEXPRESS;initial catalog=EHEC_DB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
|
||||
</connectionStrings>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
||||
|
|
Loading…
Reference in New Issue