Book, which is in the domain layer, only need to know how to communicate through the interface IBookRepository (which also resides in the domain layer). The concrete BookRepository resides in the infrastructure layer which the domain layer knows nothing about. Some people call this the onion architecture
http://johanleino.wordpress.com/2009/03/12/unity-and-sharepoint-%e2%80%93-part-3/
No comments:
Post a Comment