Where can I find "DBCommandWrapper"

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2008
Posts: 52
Reputation: brightline is an unknown quantity at this point 
Solved Threads: 0
brightline brightline is offline Offline
Junior Poster in Training

Where can I find "DBCommandWrapper"

 
0
  #1
Dec 25th, 2008
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:

  1. Imports System.Data
  2. Imports Microsoft.Practices.EnterpriseLibrary.Data
  3. Imports Microsoft.Practices.EnterpriseLibrary.Data.Sql

I wrote the following code:

  1. Dim db As Database = DatabaseFactory.CreateDatabase()
  2. 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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 49
Reputation: iDeveloper is an unknown quantity at this point 
Solved Threads: 7
iDeveloper iDeveloper is offline Offline
Light Poster

Re: Where can I find "DBCommandWrapper"

 
0
  #2
Dec 25th, 2008
Use System.Data.Common.DbCommand instead.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC