|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.21006.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ClientApp.ServiceReference1 {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.CustomerService")]
public interface CustomerService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/CustomerService/CreateCustomer", ReplyAction="http://tempuri.org/CustomerService/CreateCustomerResponse")]
[return: System.ServiceModel.MessageParameterAttribute(Name="resultAdd")]
string CreateCustomer(Customer.Customer value);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/CustomerService/AddLastName", ReplyAction="http://tempuri.org/CustomerService/AddLastNameResponse")]
[return: System.ServiceModel.MessageParameterAttribute(Name="resultAdd")]
string AddLastName(string value, int ID);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface CustomerServiceChannel : ClientApp.ServiceReference1.CustomerService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class CustomerServiceClient : System.ServiceModel.ClientBase<ClientApp.ServiceReference1.CustomerService>, ClientApp.ServiceReference1.CustomerService {
public CustomerServiceClient() {
}
public CustomerServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public CustomerServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CustomerServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CustomerServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public string CreateCustomer(Customer.Customer value) {
return base.Channel.CreateCustomer(value);
}
public string AddLastName(string value, int ID) {
return base.Channel.AddLastName(value, ID);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.