Suggestion: Change from concreate classes to interfaces (DbConnection, etc.)

Jun 29, 2012 at 2:27 PM

Some of the classes used, eg. DbConnection, DbCommand, etc. should be replaced by the there corresponding interfaces, eg. IDbConnection, IDbCommand, etc.

As from me testing, this should be quite possible. There is one issue with DbReader, where IDataReader does not implement the HasRows property.

Any comments?

Thankx, Harry

Dec 18, 2012 at 3:23 PM

calling virtual members on interfaces can be up to 500 times slower on the .net framework