Skip to content

Commit b9bf0d9

Browse files
committed
Documentation updates
1 parent 4e529ab commit b9bf0d9

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

QueryDB/MSSQL/Adapter.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ internal SqlDataReader GetSqlReader(string cmdText, SqlConnection connection, Co
2727
}
2828
}
2929

30+
/// <summary>
31+
/// Creates and returns a new <see cref="SqlCommand"/> with the specified command text,
32+
/// connection, and command type. Opens the connection before creating the command.
33+
/// </summary>
34+
/// <param name="cmdText">The SQL command text to execute.</param>
35+
/// <param name="connection">The <see cref="SqlConnection"/> to use.</param>
36+
/// <param name="commandType">The type of the command (e.g., Text, StoredProcedure).</param>
37+
/// <returns>A configured <see cref="SqlCommand"/> instance.</returns>
3038
internal SqlCommand GetSqlCommand(string cmdText, SqlConnection connection, CommandType commandType)
3139
{
3240
connection.Open();

QueryDB/MySQL/Adapter.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ internal MySqlDataReader GetMySqlReader(string cmdText, MySqlConnection connecti
2727
}
2828
}
2929

30+
/// <summary>
31+
/// Creates and returns a new <see cref="SqlCommand"/> with the specified command text,
32+
/// connection, and command type. Opens the connection before creating the command.
33+
/// </summary>
34+
/// <param name="cmdText">The SQL command text to execute.</param>
35+
/// <param name="connection">The <see cref="SqlConnection"/> to use.</param>
36+
/// <param name="commandType">The type of the command (e.g., Text, StoredProcedure).</param>
37+
/// <returns>A configured <see cref="SqlCommand"/> instance.</returns>
3038
internal MySqlCommand GetMySqlCommand(string cmdText, MySqlConnection connection, CommandType commandType)
3139
{
3240
connection.Open();

QueryDB/Oracle/Adapter.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ internal OracleDataReader GetOracleReader(string cmdText, OracleConnection conne
2727
}
2828
}
2929

30+
/// <summary>
31+
/// Creates and returns a new <see cref="SqlCommand"/> with the specified command text,
32+
/// connection, and command type. Opens the connection before creating the command.
33+
/// </summary>
34+
/// <param name="cmdText">The SQL command text to execute.</param>
35+
/// <param name="connection">The <see cref="SqlConnection"/> to use.</param>
36+
/// <param name="commandType">The type of the command (e.g., Text, StoredProcedure).</param>
37+
/// <returns>A configured <see cref="SqlCommand"/> instance.</returns>
3038
internal OracleCommand GetOracleCommand(string cmdText, OracleConnection connection, CommandType commandType)
3139
{
3240
connection.Open();

QueryDB/PostgreSQL/Adapter.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ internal NpgsqlDataReader GetPostgreSqlReader(string cmdText, NpgsqlConnection c
2727
}
2828
}
2929

30+
/// <summary>
31+
/// Creates and returns a new <see cref="SqlCommand"/> with the specified command text,
32+
/// connection, and command type. Opens the connection before creating the command.
33+
/// </summary>
34+
/// <param name="cmdText">The SQL command text to execute.</param>
35+
/// <param name="connection">The <see cref="SqlConnection"/> to use.</param>
36+
/// <param name="commandType">The type of the command (e.g., Text, StoredProcedure).</param>
37+
/// <returns>A configured <see cref="SqlCommand"/> instance.</returns>
3038
internal NpgsqlCommand GetPostgreSqlCommand(string cmdText, NpgsqlConnection connection, CommandType commandType)
3139
{
3240
connection.Open();

0 commit comments

Comments
 (0)