//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.2032.
// 
namespace Northwind.NorthwindBusinessLogicLayer {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    using System.Data;
    using System.Xml;
    using System.Runtime.Serialization;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="NorthwindBusinessLogicLayerSoap", Namespace="http://tempuri.org/")]
    public class NorthwindBusinessLogicLayer : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public NorthwindBusinessLogicLayer() {
            this.Url = "http://localhost/NorthwindMiddleTierCS/NorthwindBusinessLogicLayer.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveCustomer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsCustomers RetrieveCustomer(string ID) {
            object[] results = this.Invoke("RetrieveCustomer", new object[] {
                        ID});
            return ((dsCustomers)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveCustomer(string ID, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveCustomer", new object[] {
                        ID}, callback, asyncState);
        }
        
        /// <remarks/>
        public dsCustomers EndRetrieveCustomer(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsCustomers)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveCustomerCount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int RetrieveCustomerCount() {
            object[] results = this.Invoke("RetrieveCustomerCount", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveCustomerCount(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveCustomerCount", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndRetrieveCustomerCount(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveCustomerCountryList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] RetrieveCustomerCountryList() {
            object[] results = this.Invoke("RetrieveCustomerCountryList", new object[0]);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveCustomerCountryList(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveCustomerCountryList", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndRetrieveCustomerCountryList(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveCustomerList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet RetrieveCustomerList() {
            object[] results = this.Invoke("RetrieveCustomerList", new object[0]);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveCustomerList(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveCustomerList", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public System.Data.DataSet EndRetrieveCustomerList(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveCustomerRegionList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] RetrieveCustomerRegionList() {
            object[] results = this.Invoke("RetrieveCustomerRegionList", new object[0]);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveCustomerRegionList(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveCustomerRegionList", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndRetrieveCustomerRegionList(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveEmployees", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsEmployees RetrieveEmployees() {
            object[] results = this.Invoke("RetrieveEmployees", new object[0]);
            return ((dsEmployees)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveEmployees(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveEmployees", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public dsEmployees EndRetrieveEmployees(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsEmployees)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveOrderCount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int RetrieveOrderCount() {
            object[] results = this.Invoke("RetrieveOrderCount", new object[0]);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveOrderCount(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveOrderCount", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public int EndRetrieveOrderCount(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveOrders", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsOrders RetrieveOrders(int EmployeeID, string CustomerID) {
            object[] results = this.Invoke("RetrieveOrders", new object[] {
                        EmployeeID,
                        CustomerID});
            return ((dsOrders)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveOrders(int EmployeeID, string CustomerID, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveOrders", new object[] {
                        EmployeeID,
                        CustomerID}, callback, asyncState);
        }
        
        /// <remarks/>
        public dsOrders EndRetrieveOrders(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsOrders)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveOrdersOrderDetails", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsOrdersOrderDetails RetrieveOrdersOrderDetails() {
            object[] results = this.Invoke("RetrieveOrdersOrderDetails", new object[0]);
            return ((dsOrdersOrderDetails)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveOrdersOrderDetails(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveOrdersOrderDetails", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public dsOrdersOrderDetails EndRetrieveOrdersOrderDetails(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsOrdersOrderDetails)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveProducts", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsProducts RetrieveProducts() {
            object[] results = this.Invoke("RetrieveProducts", new object[0]);
            return ((dsProducts)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveProducts(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveProducts", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public dsProducts EndRetrieveProducts(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsProducts)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RetrieveRegionTerritoryEmployeeCustomer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public dsRegionTerritoryEmployeeCustomer RetrieveRegionTerritoryEmployeeCustomer() {
            object[] results = this.Invoke("RetrieveRegionTerritoryEmployeeCustomer", new object[0]);
            return ((dsRegionTerritoryEmployeeCustomer)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRetrieveRegionTerritoryEmployeeCustomer(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RetrieveRegionTerritoryEmployeeCustomer", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public dsRegionTerritoryEmployeeCustomer EndRetrieveRegionTerritoryEmployeeCustomer(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((dsRegionTerritoryEmployeeCustomer)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateCustomers", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void UpdateCustomers(dsCustomers custs) {
            this.Invoke("UpdateCustomers", new object[] {
                        custs});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUpdateCustomers(dsCustomers custs, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UpdateCustomers", new object[] {
                        custs}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndUpdateCustomers(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateEmployees", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void UpdateEmployees(dsEmployees emps) {
            this.Invoke("UpdateEmployees", new object[] {
                        emps});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUpdateEmployees(dsEmployees emps, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UpdateEmployees", new object[] {
                        emps}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndUpdateEmployees(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateProducts", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void UpdateProducts(dsProducts Products) {
            this.Invoke("UpdateProducts", new object[] {
                        Products});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUpdateProducts(dsProducts Products, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UpdateProducts", new object[] {
                        Products}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndUpdateProducts(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateOrdersOrderDetails", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void UpdateOrdersOrderDetails(dsOrdersOrderDetails orders) {
            this.Invoke("UpdateOrdersOrderDetails", new object[] {
                        orders});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginUpdateOrdersOrderDetails(dsOrdersOrderDetails orders, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("UpdateOrdersOrderDetails", new object[] {
                        orders}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndUpdateOrdersOrderDetails(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
    }
}
