private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(DBServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IDBService));
 }
 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);
 }
 public DBServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(DBServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 public DBServiceClient() :
     base(DBServiceClient.GetDefaultBinding(), DBServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IDBService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }