It works in local mode and it's fast. I created a DB and inserted 50,000 records in less than 2 secs. I haven't got the server side working yet, but I can proceed with development in local mode for now.
In the words of Joe Biden, "this is a big f&&%g deal!"
Eventually I will get the server side working and statically link the DLL to my client code. I just woke up thinking it was morning but it's still evening. My brain seems to have been working the problem while I was asleep. I've got a 7am appointment in town, so I'd better try to get back to sleep.