In a layered architecture using Entity Framework, should I return POCO classes from the BLL? (Architecture guidance needed)?

You don't need to do anything in particular... as Mark said, there is no "right" answer. However, if your application is simple enough that you would simply be duplicating your classes (e.g. BookInfoUI & BookInfoBLL), then I'd recommend just using the business classes. The extra layer wouldn't serve a purpose, and so it shouldn't exist.

Eric Evans in DDD even recommends putting all your logic in the UI layer if you app is simple and has very little business logic.

What you're doing is basically the Repository pattern, for which Entity Framework and POCO are a great fit.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions