Monday, July 16, 2007

Add Data Access block (Enterprise Library 3.1) to my project

Here's how I add Data Access block (Enterprise Library 3.1) to my current project instead of adding the packaging to my solution:

- Install Enterprise Library 3.1
- After the installation done, find the source code directory.
- Copy the two folder "Common" and "Data" and the two files GlobalAssembllyInfo.cs and localtestrun.testrunconfig in a local directory.
- Include the two projects in my own project.
- Compile, and it should be fine.

To use it, include libraries like:
System.Data
System.Data.SqlClient
Microsoft.Practices.EnterpriseLibrary.Data
System.Data.Common

0 Comments:

Post a Comment

<< Home