[Mono-bugs] [Bug 75598][Nor] New - OdbcCommandBuilder.GetInsertCommand not implemented

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 21 08:04:50 EDT 2005


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 spek at impaq.com.pl.

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

--- shadow/75598	2005-07-21 08:04:50.000000000 -0400
+++ shadow/75598.tmp.17772	2005-07-21 08:04:50.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 75598
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: Fedora Core
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: VB Runtime
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: spek at impaq.com.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: OdbcCommandBuilder.GetInsertCommand not implemented
+
+Description of Problem:
+Methods odbcCommandBuilder.GetInsertCommand and 
+odbcCommandBuilder.GetUpdateCommandare seems to be not implemented.
+
+Steps to reproduce the problem:
+Run the code:
+    Dim connStr As String = "DSN=xxx;UID=xxx;PWD=xxx"
+    Dim sqlStr As String = "select * from EdTableName"
+
+    Dim conn As IDbConnection = New OdbcConnection(connStr)
+    conn.Open()
+    Dim command As IDbCommand = conn.CreateCommand()
+    command.CommandText = sqlStr
+
+    Dim dataAdapter As IDbDataAdapter = New OdbcDataAdapter
+    dataAdapter.SelectCommand = command
+
+    Dim cb As OdbcCommandBuilder = New OdbcCommandBuilder(dataAdapter)
+    'dataAdapter.UpdateCommand = cb.GetUpdateCommand
+    dataAdapter.InsertCommand = cb.GetInsertCommand
+
+
+Actual Results:
+Unhandled Exception: System.NotImplementedException: The requested feature 
+is not implemented.
+in <0x0001d> System.Data.Odbc.OdbcCommandBuilder:GetInsertCommand ()
+in (wrapper remoting-invoke-with-check) 
+System.Data.Odbc.OdbcCommandBuilder:GetInsertCommand ()
+in <0x00164> ProgressTestConsole.Module3:main ()
+
+Expected Results:
+Create an insert/update object
+
+How often does this happen? 
+always
+
+Additional Information:


More information about the mono-bugs mailing list