M
Michael Lang
The new release of Generic ADO.NET is ready (2.0). You can find this project
on sourceForge at:
http://sourceforge.net/projects/genadonet/
This version has gone as far as creating a new data provider with the prefix
"Gen". It contains classes "GenConnection", "GenDataAdapter" and so forth as
other providers contain. It is very similar to how you would use any data
provider, but the same code works for any code provider (Sql, OleDB, Odbc at
least). The exception is that you must also pass a "DbContext" (or another
'Gen' object) into the constructors. The DbContext is what defines the
underlying data provider. An instance of that provider is used underneath,
so you don't lose the performance gain of the individual provider. The
advantage is one codebase for working with every database.
Let me know what you think! If you are near St. Louis, consider coming to my
presentation at the C#.NET Sig User group meeting on September 8, 2003
(6:30pm) at the Microsoft Midwest offices. I will cover both of these open
source projects in detail.
Three City Place Drive Suite 1100
Creve Couer, MO 63141
(can see building from Olive Blvd and I-270, "Microsoft" in big letters)
on sourceForge at:
http://sourceforge.net/projects/genadonet/
This version has gone as far as creating a new data provider with the prefix
"Gen". It contains classes "GenConnection", "GenDataAdapter" and so forth as
other providers contain. It is very similar to how you would use any data
provider, but the same code works for any code provider (Sql, OleDB, Odbc at
least). The exception is that you must also pass a "DbContext" (or another
'Gen' object) into the constructors. The DbContext is what defines the
underlying data provider. An instance of that provider is used underneath,
so you don't lose the performance gain of the individual provider. The
advantage is one codebase for working with every database.
Let me know what you think! If you are near St. Louis, consider coming to my
presentation at the C#.NET Sig User group meeting on September 8, 2003
(6:30pm) at the Microsoft Midwest offices. I will cover both of these open
source projects in detail.
Three City Place Drive Suite 1100
Creve Couer, MO 63141
(can see building from Olive Blvd and I-270, "Microsoft" in big letters)