New test.
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds.Protocol / Tds80.cs
index 066a2b369f7f2b5bb3f08356e09373a2ebe44212..4349571eba41585f2c3e8f52ff7841886326d54a 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Mono.Data.TdsClient.Internal.Tds80.cs
+// Mono.Data.Tds.Protocol.Tds80.cs
 //
 // Author:
 //   Tim Coleman (tim@timcoleman.com)
@@ -7,10 +7,32 @@
 // Copyright (C) 2002 Tim Coleman
 //
 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using Mono.Data.Tds;
 using System;
 
-namespace Mono.Data.TdsClient.Internal {
-        internal class Tds80 : Tds
+namespace Mono.Data.Tds.Protocol {
+        public class Tds80 : Tds
        {
                #region Fields
 
@@ -21,12 +43,12 @@ namespace Mono.Data.TdsClient.Internal {
                #region Constructors
 
                public Tds80 (string server, int port)
-                       : this (server, port, 512)
+                       : this (server, port, 512, 15)
                {
                }
 
-               public Tds80 (string server, int port, int packetSize)
-                       : base (server, port, packetSize, Version)
+               public Tds80 (string server, int port, int packetSize, int timeout)
+                       : base (server, port, packetSize, timeout, Version)
                {
                }
 
@@ -39,7 +61,7 @@ namespace Mono.Data.TdsClient.Internal {
                        throw new NotImplementedException ();
                }
 
-               protected override TdsPacketColumnInfoResult ProcessColumnInfo ()
+               protected override TdsDataColumnCollection ProcessColumnInfo ()
                {
                        throw new NotImplementedException ();
                }