[Mono-dev] Status of ADO.NET 2.0 implementation

Carlos Guzmán Álvarez carlosga at telefonica.net
Wed Oct 26 10:51:52 EDT 2005


Hello:

>We have not spent a lot of time working on this area, do you have some
>specifics about what is missing?
>
Ok, the first thing ( thinking in that the actual version of the
firebird provider for .net 2.0 matches the beta 2 of it )
DbException class should be in the System.Data.Common namespace ( it's
on System.Data right now in mono ), after fixing this and rebuild it i
get the next list of compilation errors:

carlos at ubuntu:~/source/NETProvider/NETProvi
der_20/build/linux$ make
cp ../../source/FirebirdSql/*.snk .
gmcs -target:library -out:FirebirdSql.Data.FirebirdClient.dll
-reference:System.dll -reference:System.Data.dll
-reference:System.Xml.dll -reference:System.Drawing.dll -define:RELEASE
-define:MONO -define:LINUX
-resource:../../source/FirebirdSql/Resources/isc_error_msg.resources,FirebirdSql.Data.Common.Resources.isc_error_msg.resources
-resource:../../source/FirebirdSql/Resources/FbConnection.bmp,FirebirdSql.Data.Firebird.Resources.FbConnection.bmp
-resource:../../source/FirebirdSql/Resources/Resources/FbCommand.bmp,FirebirdSql.Data.Firebird.Resources.FbCommand.bmp
-resource:../../source/FirebirdSql/Resources/Resources/FbDataAdapter.bmp,FirebirdSql.Data.Firebird.Resources.FbDataAdapter.bmp
-recurse:../../source/FirebirdSql/Data/Common/*.cs
-recurse:../../source/FirebirdSql/Data/Client/*.cs
-recurse:../../source/FirebirdSql/Data/Schema/*.cs
-recurse:../../source/FirebirdSql/Data/Services/*.cs
-recurse:../../source/FirebirdSql/Data/Isql/*.cs
-recurse:../../source/FirebirdSql/Data/FirebirdClient/*.cs
../../source/FirebirdSql/Data/FirebirdClient/FbCommandBuilder.cs(196,33):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FbCommandBuilder.ApplyParameterInfo(System.Data.Common.DbParameter,
System.Data.DataRow, System.Data.StatementType, bool)': no suitable
method found to override
../../source/FirebirdSql/Data/FirebirdClient/FbCommandBuilder.cs(217,35):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FbCommandBuilder.GetParameterName(string)':
no suitable method found to override
../../source/FirebirdSql/Data/FirebirdClient/FbParameter.cs(205,24):
error CS0115:
`FirebirdSql.Data.FirebirdClie nt.FbParameter.SourceColumnNullMapping':
no suitable method found to override
../../source/FirebirdSql/Data/FirebirdClient/FbParameter.cs(220,15):
warning CS0114: `FirebirdSql.Data.FirebirdClient.FbParameter.Precision'
hides inherited member `System.Data.Common.DbParameter.Precision'. To
make the current member override that implementation, add the override
keyword. Otherwise add the new keyword
/home/carlos/mono-project/lib/mono/2.0/System.Data.dll:
`System.Data.Common.DbParameter.Precision', name of symbol related to
previous warning
../../source/FirebirdSql/Data/FirebirdClient/FbParameter.cs(220,15):
error CS0533: `FirebirdSql.Data.FirebirdClient.FbParameter.Precision'
hides inherited abstract member `System.Data.Common.DbParameter.Precision'
/home/carlos/mono-project/lib/mono/2.0/System.Data.dll:
`System.Data.Common.DbParameter.Precision', name of symbol related to
previous error
../../source/FirebirdSql/Data/FirebirdClient/FbParameter.cs(231,15):
warning CS0114: `FirebirdSql.Data.FirebirdClient.FbParameter.Scale'
hides inherited member `System.Data.Common.DbParameter.Scale'. To make
the current member override that implementation, add the override
keyword. Otherwise add the new keyword
/home/carlos/mono-project/lib/mono/2.0/System.Data.dll:
`System.Data.Common.DbParameter.Scale', name of symbol related to
previous warning
../../source/FirebirdSql/Data/FirebirdClient/FbParameter.cs(231,15):
error CS0533: `FirebirdSql.Data.FirebirdClient.FbParameter.Scale' hides
inherited abstract member `System.Data.Common.DbParameter.Scale'
/home/carlos/mono-project/lib/mono/2.0/System.Data.dll:
`System.Data.Common.DbParameter.Scale', name of symbol related to
previous error
../../source/FirebirdSql/Data
/FirebirdClient/FbParameterCollection.cs(291,34):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FbParameterCollection.GetParameter(string)':
no suitable method found to override
../../source/FirebirdSql/Data/FirebirdClient/FbParameterCollection.cs(306,27):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FbParameterCollection.SetParameter(string,
System.Data.Common.DbParameter)': no suitable method found to override
../../source/FirebirdSql/Data/FirebirdClient/FirebirdClientFactory.cs(38,30):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FirebirdClientFactory.CanCreateDataSourceEnumerator':
no suitable method found to override
../../source/FirebirdSql/Data/FirebirdClient/FirebirdClientFactory.cs(65,51):
error CS0115:
`FirebirdSql.Data.FirebirdClient.FirebirdClientFactory.CreateConnectionStringBuilder()':
no suitable method found to override
Compilation failed: 9 error(s), 2 warnings
make: *** [FirebirdSql.Data.FirebirdClient.dll] Error 1




--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain





More information about the Mono-devel-list mailing list