|
Project Information
Featured
Downloads
Links
|
A DBI implementation for ADO.NET on IronRuby This project tries to unify the interface you use to interact with databases. It does so by delegating everything to the providers for each specific RDBMS implemented on top of ADO.NET. To test it you could use the following code. start a console require 'dbi'
conn = DBI.connect('DBI:ADONET:MSSQL:data source=(local);initial catalog=MyDatabase;user id=user;password=password')
statement = conn.execute "Select * from Users"
while row=statement.fetch
puts row
end
statement.finish
|