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.
Last edited by peter_budo; Dec 29th, 2008 at 11:25 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 57 posts
since Feb 2008