Thursday, November 15, 2007

Moma report and ADO.NET

For the 2.0 completion work, I was going through the Moma report for ADO.NET as that would bring us close enough to claim a usable-100% compatibility with .NET 2.0.

List of Todo APIs as reported by Moma are as follows:
285 System.Data.DataSet::.ctor(System.Runtime.Serialization.SerializationInfo,
81 System.Data.SqlClient.SqlConnection::set_ConnectionString(System.String)
42 System.Data.SqlClient.SqlConnection::get_ConnectionString()
11 System.Data.OracleClient.OracleParameter::set_Value(System.Object)
7 System.Data.OracleClient.OracleParameter::get_Value()
6 System.Data.OleDb.OleDbDataReader::GetFieldType(System.Int32)
5 System.Data.Common.DbDataAdapter::set_UpdateBatchSize(System.Int32)
5 System.Data.OracleClient.OracleDataReader::GetSchemaTable()
4 System.Data.OracleClient.OracleDataReader::NextResult()
2 System.Web.Handlers.TraceHandler::ShowDetails(System.Data.DataSet)
2 System.Data.OracleClient.OracleCommand::ExecuteOracleScalar()
2 System.Data.Common.DbDataAdapter::get_UpdateBatchSize()
1 System.Data.OracleClient.OracleConnection::get_DataSource()
1 System.Data.OracleClient.OracleCommand::Clone()
1 System.Data.OracleClient.OracleDataReader::GetOracleBinary(System.Int32)
1 System.Data.OleDb.OleDbConnection::GetSchema(System.String)
In the coming weeks, I will be working on implementing these APIs, a peek through on the MSDN docs revealed that some of these APIs don't have proper documentation or a use-case/sample. Typical example is System.Data.DataSet::.ctor(System.Runtime.Serialization.SerializationInfo,
System.Runtime.Serialization.StreamingContext,System.Boolean). As you can see, 285 requests have been filed for this API.

Help requested: A use case/sample .NET code would help a lot in implementing these APIs. Please file a bug in and attach your sample code to it or leave a comment here with a link to your test code or mail it to me at vvaradhan AT n
ovell DOT com. Please do not attach/mail any code that doesn't comply with MIT/X11 license, however, public domain code is accepted. Many thanks in advance.

Update: Bugzilla link to point directly to Mono bug reporting page.

1 comment:

Nagappan said...

Hi, It would be great if the bugzilla link points to ADO.NET bugs directly, a tiny URL of the actual link is provided -

Great work.