Skip to main content
2 of 3
added 115 characters in body
Ewan
  • 84.4k
  • 5
  • 91
  • 189
MyModels - class lib. No dependencies

IMyDataRepository - interface. Depends on MyModels

MyDataRepository_EfSql - depends on MyModels and IMyDataRepository and Entity framework
private EF Context
private EF Models
private EF Model to Domain Model mapping

MyApplication - depends on all three. But the repository is loosely coupled via dependency injection
Ewan
  • 84.4k
  • 5
  • 91
  • 189