WvDbi split into multiple classes, and now parses URL-style database names.
commit9bdd5ecb58469c6794d6dff6759a412bf30f266d
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 5 Sep 2008 05:27:47 +0000 (5 01:27 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 5 Sep 2008 05:31:39 +0000 (5 01:31 -0400)
treea57d468a7c1f0a952562dcfba402898b3a228493
parent2fbcc95b540fa55463493c42d9bf713324a6d459
WvDbi split into multiple classes, and now parses URL-style database names.

The MSSQL-specific and ODBC-specific parts are now in their own classes.
You can now create a WvDbi using a moniker by calling
WvDbi.create("whatever"), and the monikers can be either the old-style ones
or fancy new URL-style ones: mssql://user:password@host/database, or
odbc:MySQL://user:password@host/database.

To do: add a real mysql moniker to avoid the weird odbc:MySQL syntax.  Add
shortcuts so you don't have to enter your username and password all the
time.  Update versaplexd to construct its database connections using WvDbi
so that we can really take advantage of this.  Make a WvDbi descendant that
does queries via versaplexd, thus completing the abstraction.
versaplexd/vxapi.cs
versaplexd/vxcli.cs
wvdotnet/wvdata.cs
wvdotnet/wvdbi.cs
wvdotnet/wvmoniker.cs