Polymorphism is one of the primary pillar of Object-oriented programming. Polymorphism allows you to invoke derived class method through a base class reference during runtime. In the base class the method is declared as virtual,and in the derived class we override the same method. The virtual keyword indicates, the method can be overridden in any …
Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application
I went through quite some different approaches and improvements to make my domain layer based on unit of work and repository as clean/simple as possible with a minimum number of types/files, yet fully loose coupled and extensible. First of all I define an abstract generic repository type, containing very basic atomic operations: public IGenericRepository where …
Continue reading Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application
Thought
My story is not just my story, it's our story, the great Indian story; the story of all things being possible no matter who you are, where you were born and what your parents did; the story of your hard work and dreams and merit dictating your destiny not your inheritance or zip codes or …