[Mono-devel-list] ADO.NET driver upgrade - class naming and namespace query
Tim at onlyconnect.co.uk
Mon Dec 27 12:54:30 EST 2004
I've been working on the Mono Sqlite 2.x client
(http://www.go-mono.com/sqlite.html) in order to make it work with
3.0. I haven't done much yet with Mono itself, but I find this code
for working with Sqlite in Microsoft .NET; I'll also try it with Mono
itself. I'm wondering what would be the
best way to name the classes.
The Sqlite data format changed from version 2.x to 3.x, so I need a
different set of classes for the new version. Currently the namespace is
Mono.Data.SqliteClient, and within this there are classes such as:
My first instinct is to add new classes in the same namespace:
This way, you can use the version 2.x and 3.x clients side by side.
another approach is to create a new namespace, say
and stick with the old class names. Or to have a new namespace *and* new
Is there any guidance as to what is best practice here, either for
or for .NET generally?
More information about the Mono-devel-list