I remember a while back some discussions about whether Repositories are a good or a bad thing. The case given as a bad example was one where the Repository had a large number of methods on it, whether Repositories are good or not was irrelevant, it was crap code :-) Personally I DO use Repositories. Or, to be more accurate, I use A Repository. public interface IDomainRepository
{
IEnumerable<T> AllInstances<T>();
}
To get a list of instances of a specific class I can obviously ask the DomainRepository for AllInstances<User> for example. This is just about as far as my Repository...
Diego has upgraded my deACM source to work with Delphi 2009.
http://unitonedev.blogspot.com/2009/08/deaudio-convertido-para-delphi-2009.html