After I successfully referenced(Addess binaries from Add Reference) Data
libararies, upon building the project I recieve "Type 'DatabaseProviderFactory' is not defied" and "Type 'Database' is not defined."
I am using Visual Studio 2010, Enterprise Library 6.0 and SQL Server 2008 R2
This is what my code looks like
Public Class cDBServer
Private DBFactory As DatabaseProviderFactory
Private defaultDB As Database = DBFactory.Create("SAYACORESQL")
Any reason why is this happening? Any solutions would be appreciated.