POCO Support

Apr 29, 2007 at 3:43 PM
The EntityBase class in the SmartCA.Infrastructure.DomainBase namespace suggests the example in your book doesn’t support POCO. What are your thoughts towards POCO?
May 1, 2007 at 7:32 AM

I do support POCO, the reason why I am using the EntityBase class is purely as a layered supertype. It's really so I don't have to repeat the same code every time for all of my entities.
May 7, 2007 at 9:30 AM
Edited Jun 13, 2007 at 7:34 PM
I actually just went to a LOT of trouble implementing the Unit of Work pattern in order to support POCO for this project :)
Feb 14, 2008 at 5:42 AM
I have since added an IEntity interface as well as an IAggregateRoot interface...everything in the code base now depends on interfaces instead of base classes...the base classes are still there to eliminate duplicate code, and the base classes implement the interfaces.