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

📄 doc.xml

📁 比较好的异步数据库访问示例
💻 XML
📖 第 1 页 / 共 5 页
字号:
            <param name="commandParameters">an array of IDataParameters used to execute the command</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.ExecuteScalar(System.Data.IDbConnection,System.String,System.Object[])">
            <summary>
            Execute a stored procedure via a command (that returns a 1x1 resultset) against the specified IDbConnection 
            using the provided parameter values.  This method will query the database to discover the parameters for the 
            stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
            </summary>
            <param name="connection">a valid IDbConnection</param>
            <param name="spName">the name of the stored procedure</param>
            <param name="parameterValues">an array of objects to be assigned as the input values of the stored procedure</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.ExecuteScalar(System.Data.IDbTransaction,System.Data.CommandType,System.String)">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.ExecuteScalar(System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Data.IDataParameter[])">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="commandParameters">an array of IDataParameters used to execute the command</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.ExecuteScalar(System.Data.IDbTransaction,System.String,System.Object[])">
            <summary>
            Execute a stored procedure via a command (that returns a 1x1 resultset) against the specified
            IDbTransaction using the provided parameter values.  This method will query the database to discover the parameters for the 
            stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="spName">the name of the stored procedure</param>
            <param name="parameterValues">an array of objects to be assigned as the input values of the stored procedure</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.String,System.Data.CommandType,System.String,System.AsyncCallback,System.Object)">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="connectionString">a valid connection string for a IDbConnection yet to be opened</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.String,System.Data.CommandType,System.String,System.AsyncCallback,System.Object,System.Data.IDataParameter[])">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="connectionString">a valid connection string for a IDbConnection yet to be opened</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="commandParameters">an array of IDataParameters used to execute the command</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.String,System.String,System.AsyncCallback,System.Object,System.Object[])">
            <summary>
            Execute a stored procedure via a command (that returns a 1x1 resultset) against the database specified in 
            the connection string using the provided parameter values.  This method will query the database to discover the parameters for the 
            stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
            </summary>
            <param name="connectionString">a valid connection string for a IDbConnection</param>
            <param name="spName">the name of the stored procedure</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="parameterValues">an array of objects to be assigned as the input values of the stored procedure</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbConnection,System.Data.CommandType,System.String,System.AsyncCallback,System.Object)">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="connection">a valid IDbConnection</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbConnection,System.Data.CommandType,System.String,System.AsyncCallback,System.Object,System.Data.IDataParameter[])">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="connection">a valid IDbConnection</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="commandParameters">an array of IDataParameters used to execute the command</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbConnection,System.String,System.AsyncCallback,System.Object,System.Object[])">
            <summary>
            Execute a stored procedure via a command (that returns a 1x1 resultset) against the specified IDbConnection 
            using the provided parameter values.  This method will query the database to discover the parameters for the 
            stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
            </summary>
            <param name="connection">a valid IDbConnection</param>
            <param name="spName">the name of the stored procedure</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="parameterValues">an array of objects to be assigned as the input values of the stored procedure</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbTransaction,System.Data.CommandType,System.String,System.AsyncCallback,System.Object)">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbTransaction,System.Data.CommandType,System.String,System.AsyncCallback,System.Object,System.Data.IDataParameter[])">
            <summary>
            Execute a command (that returns a 1x1 resultset) using the provided parameters.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>
            <param name="commandText">the stored procedure name or T-SQL command</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="commandParameters">an array of IDataParameters used to execute the command</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.BeginExecuteScalar(System.Data.IDbTransaction,System.String,System.AsyncCallback,System.Object,System.Object[])">
            <summary>
            Execute a stored procedure via a command (that returns a 1x1 resultset) against the specified
            IDbTransaction using the provided parameter values.  This method will query the database to discover the parameters for the 
            stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
            </summary>
            <param name="transaction">a valid IDbTransaction</param>
            <param name="spName">the name of the stored procedure</param>
            <param name="ac">callback object containing a delegate</param>
            <param name="state">state object supplied by the client</param>
            <param name="parameterValues">an array of objects to be assigned as the input values of the stored procedure</param>
            <returns>asynchronous result object</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.EndExecuteScalar(System.IAsyncResult)">
            <summary>
            Receive the result at the end of an asynchronous call.
            </summary>
            <param name="result">asynchronous result object</param>
            <returns>an object containing the value in the 1x1 resultset generated by the command</returns>
        </member>
        <member name="M:Ordina.Data.SqlClient.CrudHelper.SqlHelper.ExecuteReader(System.Data.IDbConnection,System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Data.IDataParameter[],Ordina.Data.SqlClient.CrudHelper.SqlHelper.SqlConnectionOwnership)">
            <summary>
            Create and prepare a command, and call ExecuteReader with the appropriate CommandBehavior.
            </summary>
            <param name="connection">a valid IDbConnection, on which to execute this command</param>
            <param name="transaction">a valid IDbTransaction, or 'null'</param>
            <param name="commandType">the CommandType (stored procedure, text, etc.)</param>

⌨️ 快捷键说明

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