DataAccessBlockExtension Deprecated in 5.0

Topics: Data Access Application Block
Apr 22, 2010 at 10:31 AM

Hi all, I've just migrated from entlib 4.1 to 5.0 in my application and i noticed in my error log saying that class is deprecated. So, I'm wondering whats the alternative way wiring up Data Access Block to unity for IoC?

Apr 22, 2010 at 10:33 AM

The functionalities of the individual block extensions have been moved to the EnterpriseLibraryCoreExtension so you could use this one in place of those.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.

Apr 22, 2010 at 4:08 PM

Sarah is correct - the individual block extensions are no longer needed. EnterpriseLibraryCoreExtension now wires up all the blocks you're currently using at one shot.