# Dbd implementation for ado.net

**URL:** <https://www.ruby-forum.com/t/dbd-implementation-for-ado-net/156468>\
**Category:** IronRuby\
**Created:** [December 28, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/dbd-implementation-for-ado-net/156468 "2008-12-28T14:56:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [December 28, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/dbd-implementation-for-ado-net/156468/1 "2008-12-28T14:56:14Z")

</div>

Hi

I’ve created an [ADO.NET](http://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](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
