Question

I am planning to use Drizzle in my next C# Mono app. Since there is no C# client available for Drizzle, I thought I would have a stab at writing my own by converting the Java client, and then making it work with DBLinq.

Having seen the Java client, I realise that it's a longer job that I had anticipated, and I don't have the time. Besides the Java client is not all that mature yet.

Since there is an official Drizzle C client library (libdrizzle), writing a C# wrapper might be the best solution. Are there any tools available that can assist in generating the code for this?

Was it helpful?

Solution

You should also have a look at the drizzle-interface project on Launchpad.

Within that project, SWIG is used to generate wrappers for various languages such as Python and Ruby. All the SWIG related files are part of that project so it might be worth having a look there. Might make what you are trying to achieve a lot easier.

OTHER TIPS

Additionally, Drizzle speaks the MySQL protocol, so most MySQL clients should work just fine.

SWIG is very helpful when it comes to automatically generating .Net wrappers for C libraries, you should definitely try it first.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top