Inject DAAB configuration in code?

Topics: Data Access Application Block
Sep 28, 2009 at 4:40 AM

Hey guys,

it seems that it should be pretty easy to inject configuration settings into ConfigurationManager, so that DAAB codes does not need to be touched.  For example, if I want an actual integration type test to excercise DAAB code, is there snippet someone has that does that? 




-- Roma

Sep 28, 2009 at 8:40 AM


You might want to have a look at the unit tests of the DAAB. It will be available when you install the source code of ent lib. Usually you'll find it in this directory <Drive Letter>:\EntLib41Src\Blocks\Data\Tests.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.