List:Internals« Previous MessageNext Message »
From:rburnett Date:July 14 2005 4:44pm
Subject:Connector/NET commit: r114 - branches/1.0/mysqlclient
View as plain text  
Modified:
   branches/1.0/mysqlclient/parameter_collection.cs
Log:
Bug #10454  	incorrect return type documented for parameter collection Add methods [fixed]


Modified: branches/1.0/mysqlclient/parameter_collection.cs
===================================================================
--- branches/1.0/mysqlclient/parameter_collection.cs	2005-07-12 21:47:36 UTC (rev 113)
+++ branches/1.0/mysqlclient/parameter_collection.cs	2005-07-14 14:44:14 UTC (rev 114)
@@ -270,7 +270,7 @@
 		/// Adds the specified <see cref="MySqlParameter"/> object to the <see
cref="MySqlParameterCollection"/>.
 		/// </summary>
 		/// <param name="value">The <see cref="MySqlParameter"/> to add to the
collection.</param>
-		/// <returns>The index of the new <see cref="MySqlParameter"/>
object.</returns>
+		/// <returns>The newly added <see cref="MySqlParameter"/>
object.</returns>
 		public MySqlParameter Add(MySqlParameter value)
 		{
 			if (value == null) 
@@ -285,7 +285,7 @@
 		/// </summary>
 		/// <param name="parameterName">The name of the parameter.</param>
 		/// <param name="value">The <see cref="MySqlParameter.Value"/> of the
<see cref="MySqlParameter"/> to add to the collection.</param>
-		/// <returns>The index of the new <see cref="MySqlParameter"/>
object.</returns>
+		/// <returns>The newly added <see cref="MySqlParameter"/>
object.</returns>
 		public MySqlParameter Add( string parameterName, object value )
 		{
 			return Add( new MySqlParameter( parameterName, value ) );
@@ -296,7 +296,7 @@
 		/// </summary>
 		/// <param name="parameterName">The name of the parameter.</param>
 		/// <param name="dbType">One of the <see cref="MySqlDbType"/> values.
</param>
-		/// <returns>The index of the new <see cref="MySqlParameter"/>
object.</returns>
+		/// <returns>The newly added <see cref="MySqlParameter"/>
object.</returns>
 		public MySqlParameter Add(string parameterName, MySqlDbType dbType)
 		{
 			return Add(new MySqlParameter(parameterName, dbType));
@@ -308,7 +308,7 @@
 		/// <param name="parameterName">The name of the parameter.</param>
 		/// <param name="dbType">One of the <see cref="MySqlDbType"/> values.
</param>
 		/// <param name="size">The length of the column.</param>
-		/// <returns>The index of the new <see cref="MySqlParameter"/>
object.</returns>
+		/// <returns>The newly added <see cref="MySqlParameter"/>
object.</returns>
 		public MySqlParameter Add(string parameterName, MySqlDbType dbType, int size)
 		{
 			return Add(new MySqlParameter(parameterName, dbType, size ));
@@ -321,7 +321,7 @@
 		/// <param name="dbType">One of the <see cref="MySqlDbType"/> values.
</param>
 		/// <param name="size">The length of the column.</param>
 		/// <param name="sourceColumn">The name of the source column.</param>
-		/// <returns>The index of the new <see cref="MySqlParameter"/>
object.</returns>
+		/// <returns>The newly added <see cref="MySqlParameter"/>
object.</returns>
 		public MySqlParameter Add(string parameterName, MySqlDbType dbType, int size, string
sourceColumn)
 		{
 			return Add(new MySqlParameter(parameterName, dbType, size, sourceColumn));

Thread
Connector/NET commit: r114 - branches/1.0/mysqlclientrburnett14 Jul