⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 用c#开发的B/S模式的图书在线出版系统DB事sql server,为三层模式,用户层,业务逻辑层,DB层,详细说明见附录
💻 CS
📖 第 1 页 / 共 4 页
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.3705.0
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 1.0.3705.0 版自动生成。
// 
namespace AuthorWebApplication.AuthorService {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="AuthorServiceSoap", Namespace="http://www.services.net/webservices/")]
    public class AuthorService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public AuthorService() {
            this.Url = "http://localhost/AuthorWebService/AuthorService.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.services.net/webservices/ConnectDB", RequestNamespace="http://www.services.net/webservices/", ResponseNamespace="http://www.services.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool ConnectDB(string DataSource, string InitialCatalog, string UID, string PWD) {
            object[] results = this.Invoke("ConnectDB", new object[] {
                        DataSource,
                        InitialCatalog,
                        UID,
                        PWD});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginConnectDB(string DataSource, string InitialCatalog, string UID, string PWD, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ConnectDB", new object[] {
                        DataSource,
                        InitialCatalog,
                        UID,
                        PWD}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndConnectDB(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.services.net/webservices/AuthorUserInfo", RequestNamespace="http://www.services.net/webservices/", ResponseNamespace="http://www.services.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet AuthorUserInfo(string UserName, string UserPWD, string TableName, string NameField, string PWDField) {
            object[] results = this.Invoke("AuthorUserInfo", new object[] {
                        UserName,
                        UserPWD,
                        TableName,
                        NameField,
                        PWDField});
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginAuthorUserInfo(string UserName, string UserPWD, string TableName, string NameField, string PWDField, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("AuthorUserInfo", new object[] {
                        UserName,
                        UserPWD,
                        TableName,
                        NameField,
                        PWDField}, callback, asyncState);
        }
        
        /// <remarks/>
        public System.Data.DataSet EndAuthorUserInfo(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.services.net/webservices/AuthorUserNameUsed", RequestNamespace="http://www.services.net/webservices/", ResponseNamespace="http://www.services.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool AuthorUserNameUsed(string UserName, string TableName, string FieldName) {
            object[] results = this.Invoke("AuthorUserNameUsed", new object[] {
                        UserName,
                        TableName,
                        FieldName});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginAuthorUserNameUsed(string UserName, string TableName, string FieldName, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("AuthorUserNameUsed", new object[] {
                        UserName,
                        TableName,
                        FieldName}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndAuthorUserNameUsed(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.services.net/webservices/AuthorUserInsert", RequestNamespace="http://www.services.net/webservices/", ResponseNamespace="http://www.services.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool AuthorUserInsert(
                    string Author_UserName, 
                    string Author_PassWord, 
                    string Author_Name, 
                    string Id_Card, 
                    int Sex, 
                    int Age, 
                    string Address, 
                    int Zipcode, 
                    string City, 
                    string Country, 
                    string Email, 
                    string Phone, 
                    string Mobile, 
                    string Question, 
                    string Answer, 
                    string Notes) {
            object[] results = this.Invoke("AuthorUserInsert", new object[] {
                        Author_UserName,
                        Author_PassWord,
                        Author_Name,
                        Id_Card,
                        Sex,
                        Age,
                        Address,
                        Zipcode,
                        City,
                        Country,
                        Email,
                        Phone,
                        Mobile,
                        Question,
                        Answer,
                        Notes});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginAuthorUserInsert(
                    string Author_UserName, 
                    string Author_PassWord, 
                    string Author_Name, 
                    string Id_Card, 
                    int Sex, 
                    int Age, 
                    string Address, 
                    int Zipcode, 
                    string City, 
                    string Country, 
                    string Email, 
                    string Phone, 
                    string Mobile, 
                    string Question, 
                    string Answer, 
                    string Notes, 
                    System.AsyncCallback callback, 
                    object asyncState) {
            return this.BeginInvoke("AuthorUserInsert", new object[] {
                        Author_UserName,
                        Author_PassWord,
                        Author_Name,
                        Id_Card,
                        Sex,
                        Age,
                        Address,
                        Zipcode,
                        City,
                        Country,
                        Email,
                        Phone,
                        Mobile,
                        Question,
                        Answer,
                        Notes}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndAuthorUserInsert(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.services.net/webservices/AuthorUserUpdate", RequestNamespace="http://www.services.net/webservices/", ResponseNamespace="http://www.services.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool AuthorUserUpdate(
                    string Author_UserName, 
                    string Author_PassWord, 
                    string Author_Name, 
                    string Id_Card, 
                    int Sex, 
                    int Age, 
                    string Address, 
                    int Zipcode, 
                    string City, 
                    string Country, 
                    string Email, 
                    string Phone, 
                    string Mobile, 
                    string Question, 
                    string Answer, 
                    string Notes) {
            object[] results = this.Invoke("AuthorUserUpdate", new object[] {
                        Author_UserName,
                        Author_PassWord,
                        Author_Name,
                        Id_Card,
                        Sex,
                        Age,
                        Address,
                        Zipcode,
                        City,
                        Country,
                        Email,
                        Phone,
                        Mobile,
                        Question,
                        Answer,
                        Notes});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginAuthorUserUpdate(
                    string Author_UserName, 
                    string Author_PassWord, 
                    string Author_Name, 
                    string Id_Card, 
                    int Sex, 
                    int Age, 
                    string Address, 
                    int Zipcode, 
                    string City, 
                    string Country, 
                    string Email, 
                    string Phone, 
                    string Mobile, 
                    string Question, 
                    string Answer, 
                    string Notes, 
                    System.AsyncCallback callback, 
                    object asyncState) {
            return this.BeginInvoke("AuthorUserUpdate", new object[] {
                        Author_UserName,
                        Author_PassWord,
                        Author_Name,
                        Id_Card,
                        Sex,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -