public DBServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(DBServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(DBServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IDBService));
 }
 public DBServiceClient(EndpointConfiguration endpointConfiguration) :
     base(DBServiceClient.GetBindingForEndpoint(endpointConfiguration), DBServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }