[Mono-list] Class status page for OracleCommandBuilder.DeriveParameters shows it implemented but throws not implemented error

Ivan Lopez prelude20Si at yahoo.com
Tue May 4 19:51:10 EDT 2010

For anyone who can shed some light on this....

I am trying to migrate an application that successfully runs under MS.Net
2.0 over to Mono. The underlying aspects of the code connect to an Oracle

I noticed on the class status page for the OracleClient library that the
OracleCommandBuilder.DeriveParameters static method reflects a status of
implemented. However, in my debugging and testing I keep receiving the "Not
Implemented" exception.

I decided to dig a little deeper and noticed that the code for the
OracleCommandBuilder.DeriveParameters calls into the
OracleCommand.DeriveParameters method. This internal method, however, throws
the "Not Implemented" exception.

Is there any work being done on this method or is the DeriveParameters
method a no-go?

***below is from the mono source files that I looked at from SVN

//from the OracleCommandBuilder.cs file
public static void DeriveParameters (OracleCommand command)
 	command.DeriveParameters ();

//from the OracleCommand.cs file
internal void DeriveParameters ()
 	if (commandType != CommandType.StoredProcedure)
 	throw new InvalidOperationException (String.Format ("OracleCommandBuilder
DeriveParameters only supports CommandType.StoredProcedure, not
CommandType.{0}", commandType));
 	//OracleParameterCollection localParameters = new
OracleParameterCollection (this);
 	throw new NotImplementedException ();

Any insights, recommendations, or ideas would be great.

View this message in context: http://mono.1490590.n4.nabble.com/Class-status-page-for-OracleCommandBuilder-DeriveParameters-shows-it-implemented-but-throws-not-implr-tp2130242p2130242.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list