This project has moved and is read-only. For the latest updates, please go here.


May 25, 2012 at 5:39 AM
Edited May 25, 2012 at 5:51 AM

I'm developing an app in WPF where the UI have its own DTO types implementing interfaces shared across the service layer and repositories.
The service layer, through IoC/DI, will get instances of specific repositories for the data store being used. The app will work with SQL Server or MongoDB, depending on configuration based on client requirements, so, I'll use MongoRepository when working with MongoDb or my custom repository implementation when using Entity Framework.
To keep things decoupled, I was forced to modify MongoRepository source code and removed the constraint of the interface IEntity, so I don't need assembly reference of Mongorepository in my entity framework separated project. This way I can use the same interfaces for any repository I want.
Is there any plans to remove the dependency on IEntity to decouple things ?