What is Repository Pattern
1.reduces repetitive code and separates the Data Access and Business Logic Used for resuability
2.Easy for further changes.
How to implement Repository Pattern
1.Create an interface.- Define all CRUD functions for
2.A class implement interface. – Implement all method of interface
3.Connect controllers to the repository.
Dear Yogesh sir, Please Help me on UnitOfWork repository pattern. Please make a special video on this topic.
Hello sir, please do for the create and edit for two related table, like category and item where category id is foreign key in item table. Following your tutorial, in item controller, it generates the list with a dropdown list of category name instead of categoryid(foreignkey) which is ok, but unable to create and edit. What i have to do.
i am beginner in .net so i am folloing this generic mvc pattern. Please help me.