I frequently use codefirst approach of Entity Framework in my asp.net mvc projects. Thefore I want to do much more flexible,independency using design patterns and that project is output.
Briefly;
Factory Pattern : ContextFactory
Singleton Pattern : ContextFactory and UnitOfWork
UnitOfWork Pattern
Repository Pattern : Generic Repository
Decorator Pattern : RepositoryDecoratorBase – CachableRepository, LoggableRepository, AuditableRepository
Dependency Injection : Ninject Container as IoC
Used Structure : Object Caching,Logging with Log4net, Advanced Object Orinted Principles
you can download via my github repo