Tidying up the Data Access

Topics: General Discussion Forum
Jun 5, 2007 at 11:20 AM
Does anyone know the reason why the generated Data Access project contains all the Generic folder etc etc, instead of using the EntLib DataAccess block?

I find it far neater to reference the Data Access block and strip out the generic folder, simply leaving the Repository classes.

I'm just after peoples thoughts on the matter ;o)
Developer
Jun 5, 2007 at 3:04 PM
These generated classes are basically stubs arround EntLib DAAB and they implement some decoupling patterns as well. However your requirements may vary and perhaps you may not need this kind of abrstraction on top of DAAB so removing this layer and simply calling DAAB may also be a good choice.