2002-08-08 Franklin Wise <gracenote@earthlink.net>
authorRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Thu, 8 Aug 2002 23:19:06 +0000 (23:19 -0000)
committerRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Thu, 8 Aug 2002 23:19:06 +0000 (23:19 -0000)
* System.Data.IDbComand.cs: IDbCommand now inherits IDisposable

* System.Data.IDbConnection.cs: IDbConnection now inherits IDisposable

* System.Data.SqlTypes.SqlCompareOptions.cs: Enum now set to correct
values.

svn path=/trunk/mcs/; revision=6555

mcs/class/System.Data/ChangeLog
mcs/class/System.Data/System.Data.SqlTypes/SqlCompareOptions.cs
mcs/class/System.Data/System.Data/IDbCommand.cs
mcs/class/System.Data/System.Data/IDbConnection.cs

index 5bd5217c5f3d722c26df307ead57c76fb934c5c6..32e696741d10ab4e4ef31288d80bec503f61b15c 100644 (file)
@@ -1,3 +1,12 @@
+2002-08-08  Franklin Wise <gracenote@earthlink.net>
+
+       * System.Data.IDbComand.cs: IDbCommand now inherits IDisposable
+
+       * System.Data.IDbConnection.cs: IDbConnection now inherits IDisposable
+
+       * System.Data.SqlTypes.SqlCompareOptions.cs: Enum now set to correct
+       values.
+
 2002-08-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
index c07a93e220cfae883c75887b6e057e2392e8d832..c0ffcb53eb64ac69ae2acf8aa70f34514a890f7a 100644 (file)
 namespace System.Data.SqlTypes
 {
        /// <summary>
-       /// compare option values for SqlString
+       /// Specifies the compare option values for a SqlString structure.
        /// </summary>
        [Flags]
        [Serializable]
        public enum SqlCompareOptions {
-               BinarySort,
-               IgnoreCase,
-               IgnoreKanaType,
-               IgnoreNonSpace,
-               IgnoreWidth,
-               None
+               BinarySort = 0x8000,
+               IgnoreCase = 0x1,
+               IgnoreKanaType = 0x8,
+               IgnoreNonSpace = 0x2,
+               IgnoreWidth = 0x10,
+               None = 0
        }
 
 }
index 547d702af67b9fbc208e474673b7714c6ac70e69..6242c3fdb6b0262bf364fc91f3a28238a61037e5 100644 (file)
@@ -14,7 +14,7 @@ namespace System.Data
        /// <summary>
        /// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
        /// </summary>
-       public interface IDbCommand
+       public interface IDbCommand : IDisposable
        {
                void Cancel();
                
index 5a67874102bf23d49f624d387763d0b6e946040a..17f44da8da5d164e316658b45f0fed26ef489daa 100644 (file)
@@ -14,7 +14,7 @@ namespace System.Data
        /// <summary>
        /// Represents an open connection to a data source, and is implemented by .NET data providers that access relational databases.
        /// </summary>
-       public interface IDbConnection
+       public interface IDbConnection : IDisposable
        {
                IDbTransaction BeginTransaction();