By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

VB .Net Generic Classes

P: n/a
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Huh? Database access in .NET (doesn't matter what language) is handled via
the classes that make up ADO.NET.

"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #2

P: n/a
Huh? Database access in .NET (doesn't matter what language) is handled via
the classes that make up ADO.NET.

"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #3

P: n/a
There aren't any generic classes for data access as such - the classes have
specific functionality based on the underlying data access technique (OleDB,
ODBC, etc). However, the classes implement a common interface; you can write
your own generic classes implementing these interfaces to allow for a more
generic data access layer.
eg: All Connection classes (SqlConnection, OdbcConnection, etc) implement
the IDbConnection interface. Similarly, all command classes (SqlCommand,
OleDbCommand, etc) implement the IDbCommand interface.

Is that what you were looking for?

hope that helps..
Imran.
"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #4

P: n/a
There aren't any generic classes for data access as such - the classes have
specific functionality based on the underlying data access technique (OleDB,
ODBC, etc). However, the classes implement a common interface; you can write
your own generic classes implementing these interfaces to allow for a more
generic data access layer.
eg: All Connection classes (SqlConnection, OdbcConnection, etc) implement
the IDbConnection interface. Similarly, all command classes (SqlCommand,
OleDbCommand, etc) implement the IDbCommand interface.

Is that what you were looking for?

hope that helps..
Imran.
"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #5

P: n/a
Robin,
You mean like the Data Access Application Bock:

http://support.microsoft.com/default...b;en-us;829028

Or the Exception Management Application Block:

http://support.microsoft.com/default...b;en-us;829026

Or the Logging Application Block:

http://msdn.microsoft.com/library/de...ml/logging.asp
There are a number of other application blocks available at:

http://msdn.microsoft.com/library/de...ServiceAgg.asp

Hope this helps
Jay

"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #6

P: n/a
Robin,
You mean like the Data Access Application Bock:

http://support.microsoft.com/default...b;en-us;829028

Or the Exception Management Application Block:

http://support.microsoft.com/default...b;en-us;829026

Or the Logging Application Block:

http://msdn.microsoft.com/library/de...ml/logging.asp
There are a number of other application blocks available at:

http://msdn.microsoft.com/library/de...ServiceAgg.asp

Hope this helps
Jay

"Robin" <ro*******@hotmail.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are there any generic classes available that can be used in VB.Net to
perform common tasks such as Database Access and Logging?

Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.