[Mono-bugs] [Bug 23302] New - Implement System.Data.SqlClient classes

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
11 Apr 2002 13:34:24 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by danmorg@sc.rr.com.

http://bugzilla.ximian.com/show_bug.cgi?id=23302

--- shadow/23302	Thu Apr 11 09:34:24 2002
+++ shadow/23302.tmp.11960	Thu Apr 11 09:34:24 2002
@@ -0,0 +1,69 @@
+Bug#: 23302
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.Data.SqlClient
+AssignedTo: rodrigo@ximian.com                            
+ReportedBy: danmorg@sc.rr.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Implement System.Data.SqlClient classes
+
+The current plan was discussed with Rodrigo and Miguel:
+
+* Implement SqlConnection directly linking to Postgress SQL
+  support libraries.
+
+* Implement the OleDB connections by using LibGDA on Linux.
+
+* Implement the OleDB connections by using ADO/OleDB on Windows.
+
+So we are currently only trying to bind to a single database 
+(PostgreSQL), but that is fine.  This will enable people to find 
+interface bugs, and allow people to test the APIs on Linux.
+
+Later on, we can work on making the SqlConnection configurable to use 
+other relational databases.  But for now, this will get us 
+off the ground.
+
+Yes, exactly, that's the idea. Although we are starting the
+System.Data.* stuff in mono basing it on PostgreSQL, to be able to add 
+database support to Mono as soon as possible. So,
+
+* right now, I am starting to implement System.Data.SqlClient based 
+  on PostgreSQL.
+* as soon as it works, we'll move it to System.Data.PostgreSQL, 
+  and will convert the existing System.Data.SqlClient to be just 
+  a wrapper around System.Data.PostgreSQL.
+* then, we'll implement System.Data.OleDB using libgda (only libgda, 
+  not libgnomedb at all) on Unix/linux, and on OleDB on windows.
+* then, we'll do implementations for System.Data.SqlClient to access 
+  MS SQL server databases (both on windows and linux), 
+  System.Data.MySQL, System.Data.Interbase, etc, etc, 
+  all of them based on the native libraries for each database.
+
+List of classes in namespace System.Data.SqlClient:
+* SqlClientPermission
+* SqlClientPermissionAttribute
+* SqlCommand
+* SqlCommandBuilder
+* SqlDataAdapter
+* SqlDataReader
+* SqlError
+* SqlErrorCollection
+* SqlException
+* SqlInfoMessageEventArgs
+* SqlParameter
+* SqlParameterCollection
+* SqlRowUpdatedEventArgs
+* SqlRowUpdatingEventArgs
+* SqlTransaction
+
+In order to implement System.Data.SqlClient, various classes in other 
+System.Data classes may need to be implemented as well.