Forum: IronRuby dbd implementation for ado.net

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ivan P. (Guest)
on 2008-12-28 15:56
(Received via mailing list)
Hi

I've created an ADO.NET implementation for DBI but I may have overlooked
some stuff.
At the moment it's living on google code

http://code.google.com/p/ironruby-dbi

There is an extra colon in the connection string required to make it
select
the correct data provider.

DBI.connect("DBI:ADONET*:MSSQL*:Data Source=(local);initial
catalog=mydb;user id=sa;password=topsecret")

Feel free to test and tell me what's wrong with it :)

I've only tested it against SQL Server..
This should make implementing the activerecord adapters for rails a
little
bit easier because in many cases it's just a matter of changing the
connection string of an existing adapter (at least that's what I'm
hoping
for).

Cheers
Ivan
This topic is locked and can not be replied to.