📄 microsoft.practices.enterpriselibrary.data.xml.svn-base
字号:
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.#ctor(System.String,System.Data.Common.DbProviderFactory)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Practices.EnterpriseLibrary.Data.Database"/> class with a connection string and a <see cref="P:Microsoft.Practices.EnterpriseLibrary.Data.Database.DbProviderFactory"/>.
</summary>
<param name="connectionString">The connection string for the database.</param>
<param name="dbProviderFactory">A <see cref="P:Microsoft.Practices.EnterpriseLibrary.Data.Database.DbProviderFactory"/> object.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.CreateConnection">
<summary>
<para>Creates a connection for this database.</para>
</summary>
<returns>
<para>The <see cref="T:System.Data.Common.DbConnection"/> for this database.</para>
</returns>
<seealso cref="T:System.Data.Common.DbConnection"/>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetInstrumentationEventProvider">
<summary>
Returns the object to which the instrumentation events have been delegated.
</summary>
<returns>Object to which the instrumentation events have been delegated.</returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommand(System.String)">
<summary>
<para>Creates a <see cref="T:System.Data.Common.DbCommand"/> for a stored procedure.</para>
</summary>
<param name="storedProcedureName"><para>The name of the stored procedure.</para></param>
<returns><para>The <see cref="T:System.Data.Common.DbCommand"/> for the stored procedure.</para></returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommand(System.String,System.Object[])">
<summary>
<para>Creates a <see cref="T:System.Data.Common.DbCommand"/> for a stored procedure.</para>
</summary>
<param name="storedProcedureName"><para>The name of the stored procedure.</para></param>
<param name="parameterValues"><para>The list of parameters for the procedure.</para></param>
<returns><para>The <see cref="T:System.Data.Common.DbCommand"/> for the stored procedure.</para></returns>
<remarks>
<para>The parameters for the stored procedure will be discovered and the values are assigned in positional order.</para>
</remarks>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommandWithSourceColumns(System.String,System.String[])">
<summary>
Wraps around a derived class's implementation of the GetStoredProcCommandWrapper method and adds functionality for
using this method with UpdateDataSet. The GetStoredProcCommandWrapper method (above) that takes a params array
expects the array to be filled with VALUES for the parameters. This method differs from the GetStoredProcCommandWrapper
method in that it allows a user to pass in a string array. It will also dynamically discover the parameters for the
stored procedure and set the parameter's SourceColumns to the strings that are passed in. It does this by mapping
the parameters to the strings IN ORDER. Thus, order is very important.
</summary>
<param name="storedProcedureName"><para>The name of the stored procedure.</para></param>
<param name="sourceColumns"><para>The list of DataFields for the procedure.</para></param>
<returns><para>The <see cref="T:System.Data.Common.DbCommand"/> for the stored procedure.</para></returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetSqlStringCommand(System.String)">
<summary>
<para>Creates a <see cref="T:System.Data.Common.DbCommand"/> for a SQL query.</para>
</summary>
<param name="query"><para>The text of the query.</para></param>
<returns><para>The <see cref="T:System.Data.Common.DbCommand"/> for the SQL query.</para></returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetDataAdapter">
<summary>
Gets a DbDataAdapter with Standard update behavior.
</summary>
<returns>A <see cref="T:System.Data.Common.DbDataAdapter"/>.</returns>
<seealso cref="T:System.Data.Common.DbDataAdapter"/>
<devdoc>
Created this new, public method instead of modifying the protected, abstract one so that there will be no
breaking changes for any currently derived Database class.
</devdoc>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.GetDataAdapter(Microsoft.Practices.EnterpriseLibrary.Data.UpdateBehavior)">
<summary>
Gets the DbDataAdapter with the given update behavior and connection from the proper derived class.
</summary>
<param name="updateBehavior">
<para>One of the <see cref="T:Microsoft.Practices.EnterpriseLibrary.Data.UpdateBehavior"/> values.</para>
</param>
<returns>A <see cref="T:System.Data.Common.DbDataAdapter"/>.</returns>
<seealso cref="T:System.Data.Common.DbDataAdapter"/>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.SetUpRowUpdatedEvent(System.Data.Common.DbDataAdapter)">
<summary>
Sets the RowUpdated event for the data adapter.
</summary>
<param name="adapter">The <see cref="T:System.Data.Common.DbDataAdapter"/> to set the event.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String)">
<summary>
<para>Executes the <paramref name="command"/> and adds a new <see cref="T:System.Data.DataTable"></see> to the existing <see cref="T:System.Data.DataSet"></see>.</para>
</summary>
<param name="command">
<para>The <see cref="T:System.Data.Common.DbCommand"/> to execute.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to load.</para>
</param>
<param name="tableName">
<para>The name for the new <see cref="T:System.Data.DataTable"/> to add to the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<exception cref="T:System.ArgumentNullException">Any input parameter was <see langword="null"/> (<b>Nothing</b> in Visual Basic)</exception>
<exception cref="T:System.ArgumentException">tableName was an empty string</exception>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String,System.Data.Common.DbTransaction)">
<summary>
<para>Executes the <paramref name="command"/> within the given <paramref name="transaction"/> and adds a new <see cref="T:System.Data.DataTable"></see> to the existing <see cref="T:System.Data.DataSet"></see>.</para>
</summary>
<param name="command">
<para>The <see cref="T:System.Data.Common.DbCommand"/> to execute.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to load.</para>
</param>
<param name="tableName">
<para>The name for the new <see cref="T:System.Data.DataTable"/> to add to the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="transaction">
<para>The <see cref="T:System.Data.IDbTransaction"/> to execute the command within.</para>
</param>
<exception cref="T:System.ArgumentNullException">Any input parameter was <see langword="null"/> (<b>Nothing</b> in Visual Basic).</exception>
<exception cref="T:System.ArgumentException">tableName was an empty string.</exception>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[])">
<summary>
<para>Loads a <see cref="T:System.Data.DataSet"/> from a <see cref="T:System.Data.Common.DbCommand"/>.</para>
</summary>
<param name="command">
<para>The command to execute to fill the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to fill.</para>
</param>
<param name="tableNames">
<para>An array of table name mappings for the <see cref="T:System.Data.DataSet"/>.</para>
</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[],System.Data.Common.DbTransaction)">
<summary>
<para>Loads a <see cref="T:System.Data.DataSet"/> from a <see cref="T:System.Data.Common.DbCommand"/> in a transaction.</para>
</summary>
<param name="command">
<para>The command to execute to fill the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to fill.</para>
</param>
<param name="tableNames">
<para>An array of table name mappings for the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="transaction">
<para>The <see cref="T:System.Data.IDbTransaction"/> to execute the command in.</para>
</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.String,System.Data.DataSet,System.String[],System.Object[])">
<summary>
<para>Loads a <see cref="T:System.Data.DataSet"/> with the results returned from a stored procedure.</para>
</summary>
<param name="storedProcedureName">
<para>The stored procedure name to execute.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to fill.</para>
</param>
<param name="tableNames">
<para>An array of table name mappings for the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="parameterValues">
<para>An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure.</para>
</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.Common.DbTransaction,System.String,System.Data.DataSet,System.String[],System.Object[])">
<summary>
<para>Loads a <see cref="T:System.Data.DataSet"/> with the results returned from a stored procedure executed in a transaction.</para>
</summary>
<param name="transaction">
<para>The <see cref="T:System.Data.IDbTransaction"/> to execute the stored procedure in.</para>
</param>
<param name="storedProcedureName">
<para>The stored procedure name to execute.</para>
</param>
<param name="dataSet">
<para>The <see cref="T:System.Data.DataSet"/> to fill.</para>
</param>
<param name="tableNames">
<para>An array of table name mappings for the <see cref="T:System.Data.DataSet"/>.</para>
</param>
<param name="parameterValues">
<para>An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure.</para>
</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(System.Data.CommandType,System.String,System.Data.DataSet,System.String[])">
<summary>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -