MySQL wrapper used in Albetros/Impulse

03/30/2013 18:33 .Xori^#1
Hey there, this is a question for Pro4never / Impulse.

I'd like to use the MySQL wrapper used in Albetros/Impulse and implement it in my source (with you guys credits ofcourse). It's easy to use when pulling data from a database compared to how I have it setup now (1 huge SQL line lol).

I referenced the MySqlHandler.dll, Could you explain how to open a connection that will pair with the dll? I tried the same method used to connect with MySql.Data.dll but it doesn't seem to work.

Much appreciated!
03/30/2013 21:03 Super Aids#2
Pretty sure Albetros uses NHibernate which requires some more than just a dll. You need a few xml files etc. as well if I am correct.

Also make sure your MySQL is Innodb.
03/30/2013 21:04 pro4never#3
The original wrapper I used in Albetros that was created by Impulse is not something I'd strongly recommend using.

I had nothing but problems with it and found there were much better options out there.

That's why we moved towards using Nhibernate which worked fantastically well and opened up a TON of options for server development.

It's a bit of a learning hurdle to use but it's really quite easy once you get it all configured and you know what's involved.
03/31/2013 09:16 .Xori^#4
Quote:
Originally Posted by pro4never View Post
The original wrapper I used in Albetros that was created by Impulse is not something I'd strongly recommend using.

I had nothing but problems with it and found there were much better options out there.

That's why we moved towards using Nhibernate which worked fantastically well and opened up a TON of options for server development.

It's a bit of a learning hurdle to use but it's really quite easy once you get it all configured and you know what's involved.
Thanks again Pro, I managed to get the wrapper working with a little bit of research and breakpointing the config/loading etc. Works perfectly, added a couple personal modifications to fit my needs. But again thanks! :) Don't know where I'd be right now without you and Fangs resources.