--- /dev/null
+2002-10-16 Tim Coleman (tim@timcoleman.com)
+ * ChangeLog:
+ New ChangeLog
+ * IsolationLevel.cs:
+ * TdsCommand.cs:
+ * TdsConnection.cs:
+ * TdsServerType.cs:
+ * TdsTransaction.cs:
+ Added skeletons to get started.
--- /dev/null
+//
+// Mono.Data.TdsClient.TdsIsolationLevel.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) 2002 Tim Coleman
+//
+//
+// Copied from System.Data namespace, to avoid dependency purgatory
+//
+
+using System;
+
+namespace Mono.Data.TdsClient {
+ [Flags]
+ [Serializable]
+ public enum IsolationLevel
+ {
+ Unspecified = -1,
+ Chaos = 16,
+ ReadUncommitted = 256,
+ ReadCommitted = 4096,
+ RepeatableRead = 65536,
+ Serializable = 1048576
+ }
+}
--- /dev/null
+//
+// Mono.Data.TdsClient.TdsCommand.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) 2002 Tim Coleman
+//
+
+using System;
+using System.ComponentModel;
+
+namespace Mono.Data.TdsClient {
+ public sealed class TdsCommand : Component, ICloneable
+ {
+ #region Fields
+
+ string commandText;
+ TdsConnection connection;
+ TdsTransaction transaction;
+
+ #endregion // Fields
+
+ #region Constructors
+
+ public TdsCommand ()
+ {
+ commandText = String.Empty;
+ connection = null;
+ transaction = null;
+ }
+
+ #endregion // Constructors
+
+ #region Properties
+
+ public string CommandText {
+ get { return commandText; }
+ set { commandText = value; }
+ }
+
+ public TdsConnection Connection {
+ get { return connection; }
+ set { connection = value; }
+ }
+
+ public TdsTransaction Transaction {
+ get { return transaction; }
+ set { transaction = value; }
+ }
+
+ #endregion // Properties
+
+ #region Methods
+
+ object ICloneable.Clone()
+ {
+ throw new NotImplementedException ();
+ }
+
+ #endregion // Methods
+ }
+}
--- /dev/null
+//
+// Mono.Data.TdsClient.TdsConnection.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) 2002 Tim Coleman
+//
+
+using System;
+using System.ComponentModel;
+
+namespace Mono.Data.TdsClient {
+ public sealed class TdsConnection : Component, ICloneable
+ {
+ #region Fields
+
+ TdsServerType serverType;
+
+ #endregion // Fields
+
+ #region Constructors
+
+ public TdsConnection (TdsServerType serverType)
+ {
+ }
+
+ #endregion // Constructors
+
+ #region Methods
+
+ object ICloneable.Clone()
+ {
+ throw new NotImplementedException ();
+ }
+
+ #endregion // Methods
+ }
+}
--- /dev/null
+//
+// Mono.Data.TdsClient.TdsServerType.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) 2002 Tim Coleman
+//
+
+namespace Mono.Data.TdsClient {
+ public enum TdsServerType
+ {
+ SqlServer,
+ Sybase
+ }
+}
--- /dev/null
+//
+// Mono.Data.TdsClient.TdsTransaction.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) 2002 Tim Coleman
+//
+
+using System;
+using System.ComponentModel;
+
+namespace Mono.Data.TdsClient {
+ public sealed class TdsTransaction : Component, ICloneable
+ {
+ #region Constructors
+
+ public TdsTransaction (TdsConnection connection, IsolationLevel isolevel)
+ {
+ }
+
+ #endregion // Constructors
+
+ #region Methods
+
+ object ICloneable.Clone()
+ {
+ throw new NotImplementedException ();
+ }
+
+ #endregion // Methods
+ }
+}