[Mono-dev] Refactoring in System.Data.Common

Miguel de Icaza miguel at ximian.com
Mon Jan 30 00:38:42 EST 2006


Hello,

> I made some methods/fields in System.Data.Common/ExceptionHelper.cs,
> DbTypes.cs to enable reuse in other assemblies like
> System.Data.OracleClient.

Like Ben pointed out this patch has the unintended side effect of
exposing types that are not part of the public API, so it can not be
applied.

What you could consider doing to share this information is to list the
necessary files that you need to share data with in the ".sources" file
for the other module.

If you need to re-namespace the constants, you could use an ifdef around
it.

Miguel.



More information about the Mono-devel-list mailing list