* 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
+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
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
}
}
/// <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();
/// <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();