Where can I find "DBCommandWrapper"
I am using Enterprise Library 4.1(October 2008)
and I am trying to use DBCommandWrapper but I can't find it
I had added the following references:
Imports System.Data
Imports Microsoft.Practices.EnterpriseLibrary.Data
Imports Microsoft.Practices.EnterpriseLibrary.Data.Sql
I wrote the following code:
Dim db As Database = DatabaseFactory.CreateDatabase()
Dim objDBCommandWrapper As DBCommandWrapper = db.GetStoredProcCommandWrapper(sqlCommand)
but when I compile the code, the following error comes up:
Type "DBCommandWrapper" is not defined.
I want help to solve this error.
Thanks in advance.
brightline
Junior Poster in Training
60 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0