List:Commits« Previous MessageNext Message »
From:rburnett Date:November 5 2007 10:21pm
Subject:Connector/NET commit: r1072 - in branches/5.1/Driver/Source: . docs
View as plain text  
Modified:
   branches/5.1/Driver/Source/CommandBuilder.cs
   branches/5.1/Driver/Source/Connection.cs
   branches/5.1/Driver/Source/MySqlConnectionStringBuilder.cs
   branches/5.1/Driver/Source/datareader.cs
   branches/5.1/Driver/Source/docs/MySqlConnection.xml
   branches/5.1/Driver/Source/docs/MySqlDataReader.xml
   branches/5.1/Driver/Source/parameter_collection.cs
Log:
made some naming improvments suggested by FxCop

Modified: branches/5.1/Driver/Source/CommandBuilder.cs
===================================================================
--- branches/5.1/Driver/Source/CommandBuilder.cs	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/CommandBuilder.cs	2007-11-05 22:21:01 UTC (rev 1072)
@@ -189,11 +189,11 @@
         /// <summary>
         /// 
         /// </summary>
-        /// <param name="columnName"></param>
+        /// <param name="parameterName"></param>
         /// <returns></returns>
-        protected override string GetParameterName(string columnName)
+        protected override string GetParameterName(string parameterName)
         {
-            StringBuilder sb = new StringBuilder(columnName);
+            StringBuilder sb = new StringBuilder(parameterName);
             sb.Replace(" ", "");
             sb.Replace("/", "_per_");
             sb.Replace("-", "_");

Modified: branches/5.1/Driver/Source/Connection.cs
===================================================================
--- branches/5.1/Driver/Source/Connection.cs	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/Connection.cs	2007-11-05 22:21:01 UTC (rev 1072)
@@ -395,7 +395,7 @@
         #endregion
 
         /// <include file='docs/MySqlConnection.xml' path='docs/ChangeDatabase/*'/>
-        public override void ChangeDatabase(string database)
+        public override void ChangeDatabase(string databaseName)
         {
             if (database == null || database.Trim().Length == 0)
                 throw new ArgumentException(Resources.ParameterIsInvalid, "database");

Modified: branches/5.1/Driver/Source/MySqlConnectionStringBuilder.cs
===================================================================
--- branches/5.1/Driver/Source/MySqlConnectionStringBuilder.cs	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/MySqlConnectionStringBuilder.cs	2007-11-05 22:21:01 UTC (rev 1072)
@@ -1213,21 +1213,21 @@
         /// Gets or sets the value associated with the specified key. In C#, this property 
         /// is the indexer. 
         /// </summary>
-        /// <param name="key">The key of the item to get or set.</param>
+        /// <param name="keyword">The key of the item to get or set.</param>
         /// <returns>The value associated with the specified key. </returns>
-        public override object this[string key]
+        public override object this[string keyword]
         {
             get
             {
-                Keyword kw = GetKey(key);
+                Keyword kw = GetKey(keyword);
                 return GetValue(kw);
             }
             set
             {
                 if (value == null)
-                    Remove(key);
+                    Remove(keyword);
                 else
-                    SetValue(key, value);
+                    SetValue(keyword, value);
             }
         }
 

Modified: branches/5.1/Driver/Source/datareader.cs
===================================================================
--- branches/5.1/Driver/Source/datareader.cs	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/datareader.cs	2007-11-05 22:21:01 UTC (rev 1072)
@@ -240,13 +240,13 @@
 		/// Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.
 		/// </summary>
 		/// <param name="i">The zero-based column ordinal. </param>
-		/// <param name="dataIndex">The index within the field from which to begin the read operation. </param>
+		/// <param name="fieldOffset">The index within the field from which to begin the read operation. </param>
 		/// <param name="buffer">The buffer into which to read the stream of bytes. </param>
-		/// <param name="bufferIndex">The index for buffer to begin the read operation. </param>
+		/// <param name="bufferoffset">The index for buffer to begin the read operation. </param>
 		/// <param name="length">The maximum length to copy into the buffer. </param>
 		/// <returns>The actual number of bytes read.</returns>
 		/// <include file='docs/MySqlDataReader.xml' path='MyDocs/MyMembers[@name="GetBytes"]/*'/>
-		public override long GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
+		public override long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)
 		{
 			if (i >= fields.Length)
 				throw new IndexOutOfRangeException();
@@ -260,23 +260,23 @@
 			if (buffer == null)
 				return (long)binary.Value.Length;
 
-			if (bufferIndex >= buffer.Length || bufferIndex < 0)
+			if (bufferoffset >= buffer.Length || bufferoffset < 0)
 				throw new IndexOutOfRangeException("Buffer index must be a valid index in buffer");
-			if (buffer.Length < (bufferIndex + length))
+			if (buffer.Length < (bufferoffset + length))
 				throw new ArgumentException("Buffer is not large enough to hold the requested data");
-			if (dataIndex < 0 ||
-				((ulong)dataIndex >= (ulong)binary.Value.Length && (ulong)binary.Value.Length > 0))
+			if (fieldOffset < 0 ||
+				((ulong)fieldOffset >= (ulong)binary.Value.Length && (ulong)binary.Value.Length > 0))
 				throw new IndexOutOfRangeException("Data index must be a valid index in the field");
 
 			byte[] bytes = (byte[])binary.Value;
 
 			// adjust the length so we don't run off the end
-			if ((ulong)binary.Value.Length < (ulong)(dataIndex + length))
+			if ((ulong)binary.Value.Length < (ulong)(fieldOffset + length))
 			{
-				length = (int)((ulong)binary.Value.Length - (ulong)dataIndex);
+				length = (int)((ulong)binary.Value.Length - (ulong)fieldOffset);
 			}
 
-			Buffer.BlockCopy(bytes, (int)dataIndex, buffer, (int)bufferIndex, (int)length);
+			Buffer.BlockCopy(bytes, (int)fieldOffset, buffer, (int)bufferoffset, (int)length);
 
 			return length;
 		}
@@ -306,12 +306,12 @@
 		/// Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
 		/// </summary>
 		/// <param name="i"></param>
-		/// <param name="fieldOffset"></param>
+		/// <param name="fieldoffset"></param>
 		/// <param name="buffer"></param>
 		/// <param name="bufferoffset"></param>
 		/// <param name="length"></param>
 		/// <returns></returns>
-		public override long GetChars(int i, long fieldOffset, char[] buffer, int bufferoffset, int length)
+		public override long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length)
 		{
 			if (i >= fields.Length)
 				throw new IndexOutOfRangeException();
@@ -324,12 +324,12 @@
 				throw new IndexOutOfRangeException("Buffer index must be a valid index in buffer");
 			if (buffer.Length < (bufferoffset + length))
 				throw new ArgumentException("Buffer is not large enough to hold the requested data");
-			if (fieldOffset < 0 || fieldOffset >= valAsString.Length)
+			if (fieldoffset < 0 || fieldoffset >= valAsString.Length)
 				throw new IndexOutOfRangeException("Field offset must be a valid index in the field");
 
 			if (valAsString.Length < length)
 				length = valAsString.Length;
-			valAsString.CopyTo((int)fieldOffset, buffer, bufferoffset, length);
+			valAsString.CopyTo((int)fieldoffset, buffer, bufferoffset, length);
 			return length;
 		}
 
@@ -359,16 +359,16 @@
 			return (MySqlDateTime)GetFieldValue(column, true);
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDateTime/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDateTimeS/*'/>
 		public DateTime GetDateTime(string column)
 		{
 			return GetDateTime(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDateTime/*'/>
-		public override DateTime GetDateTime(int column)
+		public override DateTime GetDateTime(int i)
 		{
-			IMySqlValue val = GetFieldValue(column, true);
+			IMySqlValue val = GetFieldValue(i, true);
 			MySqlDateTime dt;
 
             if (val is MySqlDateTime)
@@ -376,7 +376,7 @@
             else
 			{
                 // we need to do this because functions like date_add return string
-                string s = GetString(column);
+                string s = GetString(i);
 				dt = MySqlDateTime.Parse(s, this.connection.driver.Version);
 			}
 
@@ -386,31 +386,31 @@
 				return dt.GetDateTime();
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDecimal/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDecimalS/*'/>
 		public Decimal GetDecimal(string column)
 		{
 			return GetDecimal(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDecimal/*'/>
-		public override Decimal GetDecimal(int column)
+		public override Decimal GetDecimal(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlDecimal)
 				return ((MySqlDecimal)v).Value;
 			return Convert.ToDecimal(v.Value);
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDouble/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDoubleS/*'/>
 		public double GetDouble(string column)
 		{
 			return GetDouble(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetDouble/*'/>
-		public override double GetDouble(int column)
+		public override double GetDouble(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlDouble)
 				return ((MySqlDouble)v).Value;
 			return Convert.ToDouble(v.Value);
@@ -435,84 +435,84 @@
 			return values[i].SystemType;
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetFloat/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetFloatS/*'/>
 		public float GetFloat(string column)
 		{
 			return GetFloat(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetFloat/*'/>
-		public override float GetFloat(int column)
+		public override float GetFloat(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlSingle)
 				return ((MySqlSingle)v).Value;
 			return Convert.ToSingle(v.Value);
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetGuid/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetGuidS/*'/>
 		public Guid GetGuid(string column)
 		{
 			return GetGuid(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetGuid/*'/>
-		public override Guid GetGuid(int column)
+		public override Guid GetGuid(int i)
 		{
-			return new Guid(GetString(column));
+			return new Guid(GetString(i));
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt16/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt16S/*'/>
 		public Int16 GetInt16(string column)
 		{
 			return GetInt16(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt16/*'/>
-		public override Int16 GetInt16(int column)
+		public override Int16 GetInt16(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlInt16)
 				return ((MySqlInt16)v).Value;
 
 			connection.UsageAdvisor.Converting(command.CommandText,
-				 fields[column].ColumnName, v.MySqlTypeName, "Int16");
+				 fields[i].ColumnName, v.MySqlTypeName, "Int16");
 			return ((IConvertible)v.Value).ToInt16(null);
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt32/*'/>
-		public Int32 GetInt32(string column)
+        /// <include file='docs/MySqlDataReader.xml' path='docs/GetInt32S/*'/>
+        public Int32 GetInt32(string column)
 		{
 			return GetInt32(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt32/*'/>
-		public override Int32 GetInt32(int column)
+		public override Int32 GetInt32(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlInt32)
 				return ((MySqlInt32)v).Value;
 
 			connection.UsageAdvisor.Converting(command.CommandText,
-				 fields[column].ColumnName, v.MySqlTypeName, "Int32");
+				 fields[i].ColumnName, v.MySqlTypeName, "Int32");
 			return ((IConvertible)v.Value).ToInt32(null);
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt64/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt64S/*'/>
 		public Int64 GetInt64(string column)
 		{
 			return GetInt64(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetInt64/*'/>
-		public override Int64 GetInt64(int column)
+		public override Int64 GetInt64(int i)
 		{
-			IMySqlValue v = GetFieldValue(column, true);
+			IMySqlValue v = GetFieldValue(i, true);
 			if (v is MySqlInt64)
 				return ((MySqlInt64)v).Value;
 
 			connection.UsageAdvisor.Converting(command.CommandText,
-				 fields[column].ColumnName, v.MySqlTypeName, "Int64");
+				 fields[i].ColumnName, v.MySqlTypeName, "Int64");
 			return ((IConvertible)v.Value).ToInt64(null);
 		}
 
@@ -619,21 +619,21 @@
 			return dataTableSchema;
 		}
 
-		/// <include file='docs/MySqlDataReader.xml' path='docs/GetString/*'/>
+		/// <include file='docs/MySqlDataReader.xml' path='docs/GetStringS/*'/>
 		public string GetString(string column)
 		{
 			return GetString(GetOrdinal(column));
 		}
 
 		/// <include file='docs/MySqlDataReader.xml' path='docs/GetString/*'/>
-		public override String GetString(int column)
+		public override String GetString(int i)
 		{
-			IMySqlValue val = GetFieldValue(column, true);
+			IMySqlValue val = GetFieldValue(i, true);
 
 			if (val is MySqlBinary)
 			{
 				byte[] v = ((MySqlBinary)val).Value;
-				return fields[column].Encoding.GetString(v, 0, v.Length);
+				return fields[i].Encoding.GetString(v, 0, v.Length);
 			}
 
 			return val.Value.ToString();

Modified: branches/5.1/Driver/Source/docs/MySqlConnection.xml
===================================================================
--- branches/5.1/Driver/Source/docs/MySqlConnection.xml	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/docs/MySqlConnection.xml	2007-11-05 22:21:01 UTC (rev 1072)
@@ -544,7 +544,7 @@
 
   <ChangeDatabase>
     <summary>Changes the current database for an open MySqlConnection.</summary>
-    <param name="database">The name of the database to use.</param>
+    <param name="databaseName">The name of the database to use.</param>
     <remarks>
       <para>
         The value supplied in the <I>database</I> parameter must be a valid database

Modified: branches/5.1/Driver/Source/docs/MySqlDataReader.xml
===================================================================
--- branches/5.1/Driver/Source/docs/MySqlDataReader.xml	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/docs/MySqlDataReader.xml	2007-11-05 22:21:01 UTC (rev 1072)
@@ -138,10 +138,39 @@
         </para>
       </note>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetDateTime>
 
+  <GetDateTimeS>
+    <summary>
+      Gets the value of the specified column as a <see cref="DateTime"/> object.
+    </summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+      <note>
+        <para>
+          MySql allows date columns to contain the value '0000-00-00' and datetime
+          columns to contain the value '0000-00-00 00:00:00'.  The DateTime structure cannot contain
+          or represent these values.  To read a datetime value from a column that might
+          contain zero values, use <see cref="GetMySqlDateTime(int)"/>.
+        </para>
+        <para>
+          The behavior of reading a zero datetime column using this method is defined by the
+          <i>ZeroDateTimeBehavior</i> connection string option.  For more information on this option,
+          please refer to <see cref="MySqlConnection.ConnectionString"/>.
+        </para>
+      </note>
+    </remarks>
+    <param name="column">The column name.</param>
+    <returns>The value of the specified column.</returns>
+  </GetDateTimeS>
+
   <GetMySqlDateTime>
     <summary>
       Gets the value of the specified column as a <see cref="MySql.Data.Types.MySqlDateTime"/> object.
@@ -170,10 +199,26 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetString>
 
+  <GetStringS>
+    <summary>
+      Gets the value of the specified column as a <see cref="String"/> object.
+    </summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>String</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name.</param>
+    <returns>The value of the specified column.</returns>
+  </GetStringS>
+
   <GetDecimal>
     <summary>
       Gets the value of the specified column as a <see cref="Decimal"/> object.
@@ -186,10 +231,26 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal</param>
     <returns>The value of the specified column.</returns>
   </GetDecimal>
 
+  <GetDecimalS>
+    <summary>
+      Gets the value of the specified column as a <see cref="Decimal"/> object.
+    </summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Decimal</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name</param>
+    <returns>The value of the specified column.</returns>
+  </GetDecimalS>
+
   <GetDouble>
     <summary>Gets the value of the specified column as a double-precision floating point number.</summary>
     <remarks>
@@ -200,10 +261,24 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or colum name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetDouble>
 
+  <GetDoubleS>
+    <summary>Gets the value of the specified column as a double-precision floating point number.</summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Double</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name</param>
+    <returns>The value of the specified column.</returns>
+  </GetDoubleS>
+  
   <GetFloat>
     <summary>
       Gets the value of the specified column as a single-precision floating point number.
@@ -216,16 +291,38 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetFloat>
 
+  <GetFloatS>
+    <summary>
+      Gets the value of the specified column as a single-precision floating point number.
+    </summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>Float</b> object.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name</param>
+    <returns>The value of the specified column.</returns>
+  </GetFloatS>
+
   <GetGiud>
     <summary>Gets the value of the specified column as a globally-unique identifier (GUID).</summary>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetGiud>
 
+  <GetGiudS>
+    <summary>Gets the value of the specified column as a globally-unique identifier (GUID).</summary>
+    <param name="column">The column name</param>
+    <returns>The value of the specified column.</returns>
+  </GetGiudS>
+
   <GetInt16>
     <summary>Gets the value of the specified column as a 16-bit signed integer.</summary>
     <remarks>
@@ -236,10 +333,24 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetInt16>
 
+  <GetInt16S>
+    <summary>Gets the value of the specified column as a 16-bit signed integer.</summary>
+    <remarks>
+      <para>
+        No conversions are performed; threfore, the data retrieved must already be a <b>16 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name</param>
+    <returns>The value of the specified column.</returns>
+  </GetInt16S>
+
   <GetInt32>
     <summary>Gets the value of the specified column as a 32-bit signed integer.</summary>
     <remarks>
@@ -250,10 +361,24 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetInt32>
 
+  <GetInt32S>
+    <summary>Gets the value of the specified column as a 32-bit signed integer.</summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>32 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name.</param>
+    <returns>The value of the specified column.</returns>
+  </GetInt32S>
+
   <GetInt64>
     <summary>Gets the value of the specified column as a 64-bit signed integer.</summary>
     <remarks>
@@ -264,10 +389,24 @@
         Call IsDBNull to check for null values before calling this method.
       </para>
     </remarks>
-    <param name="column">The zero-based column ordinal or column name.</param>
+    <param name="i">The zero-based column ordinal.</param>
     <returns>The value of the specified column.</returns>
   </GetInt64>
 
+  <GetInt64S>
+    <summary>Gets the value of the specified column as a 64-bit signed integer.</summary>
+    <remarks>
+      <para>
+        No conversions are performed; therefore, the data retrieved must already be a <b>64 bit integer</b> value.
+      </para>
+      <para>
+        Call IsDBNull to check for null values before calling this method.
+      </para>
+    </remarks>
+    <param name="column">The column name.</param>
+    <returns>The value of the specified column.</returns>
+  </GetInt64S>
+
   <GetUInt16>
     <summary>Gets the value of the specified column as a 16-bit unsigned integer.</summary>
     <remarks>

Modified: branches/5.1/Driver/Source/parameter_collection.cs
===================================================================
--- branches/5.1/Driver/Source/parameter_collection.cs	2007-11-05 21:01:25 UTC (rev 1071)
+++ branches/5.1/Driver/Source/parameter_collection.cs	2007-11-05 22:21:01 UTC (rev 1072)
@@ -243,11 +243,11 @@
 		/// <summary>
 		/// Gets a value indicating whether a <see cref="MySqlParameter"/> with the specified parameter name exists in the collection.
 		/// </summary>
-		/// <param name="value">The name of the <see cref="MySqlParameter"/> object to find.</param>
+		/// <param name="parameterName">The name of the <see cref="MySqlParameter"/> object to find.</param>
 		/// <returns>true if the collection contains the parameter; otherwise, false.</returns>
-		public override bool Contains(string value)
+		public override bool Contains(string parameterName)
 		{
-			return IndexOf(value) != -1;
+			return IndexOf(parameterName) != -1;
 		}
 
 		/// <summary>
@@ -368,10 +368,10 @@
 		/// <summary>
 		/// Removes the specified <see cref="MySqlParameter"/> from the collection using the parameter name.
 		/// </summary>
-		/// <param name="name">The name of the <see cref="MySqlParameter"/> object to retrieve. </param>
-		public override void RemoveAt(string name)
+		/// <param name="parameterName">The name of the <see cref="MySqlParameter"/> object to retrieve. </param>
+		public override void RemoveAt(string parameterName)
 		{
-			DbParameter p = GetParameter(name);
+			DbParameter p = GetParameter(parameterName);
 			Remove(p);
 		}
 

Thread
Connector/NET commit: r1072 - in branches/5.1/Driver/Source: . docsrburnett5 Nov