Repository Pattern vs DAL
问题 Are they the same thing? Just finished to watch Rob Connery's Storefront tutorial and they seem to be similar techinques. I mean, when I implement a DAL object I have the GetStuff, Add/Delete etc methods and I always write the interface first so that I can switch db later. Am I confusing things? 回答1: You're definitely not the one who confuses things. :-) I think the answer to the question depends on how much of a purist you want to be. If you want a strict DDD point of view, that will take