Sorry for the newbie question but I'm tryig to get the DAAB setup in an existing site with Entlib v5.0.
I've made references to and see the .dll in my BIN for:
I also added "Imports Microsoft.Practices.EnterpriseLibrary.Data" to the top of my .vb page.
When I go to try to create the following line of code I get an error for the DbCommand saying "DbCommand is not defined" and it's not part of my intellisense. I do see IDbCommand though.
I'm not sure that I have the configuration file done correctly though but I wouldn't think I would get this error if the config file is not setup correctly.
In my DAL class file I'm inheriting from another class called BaseData that just has the creation of the database right now so I don't have to retype that each time. This is all thats in that class:
Public Class BaseData
Protected Shared db As Database
Shared Sub New()
db = DatabaseFactory.CreateDatabase()