EF Codefirst with Design Patterns

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 – CachableRepositoryLoggableRepositoryAuditableRepository

Dependency Injection : Ninject Container as IoC

Used Structure : Object Caching,Logging with Log4net, Advanced Object Orinted Principles

you can download via my github repo

Leave a Reply

Your email address will not be published. Required fields are marked *