O
ozgur develioglu
Why do you use XML code in c# code like;
/// <summary>
/// Execute a SqlCommand (that returns no resultset) against the database
specified in the connection string
/// using the provided parameters
/// </summary>
/// <remarks>
/// e.g.:
/// int result = ExecuteNonQuery(connString, CommandType.StoredProcedure,
"PublishOrders", new SqlParameter("@prodid", 24));
/// </remarks>
/// <param name="connectionString">A valid connection string for a
SqlConnection</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 SqlParamters used to execute
the command</param>
/// <returns>An int representing the number of rows affected by the
command</returns>
What do they serve?
/// <summary>
/// Execute a SqlCommand (that returns no resultset) against the database
specified in the connection string
/// using the provided parameters
/// </summary>
/// <remarks>
/// e.g.:
/// int result = ExecuteNonQuery(connString, CommandType.StoredProcedure,
"PublishOrders", new SqlParameter("@prodid", 24));
/// </remarks>
/// <param name="connectionString">A valid connection string for a
SqlConnection</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 SqlParamters used to execute
the command</param>
/// <returns>An int representing the number of rows affected by the
command</returns>
What do they serve?