Repository (2) 썸네일형 리스트형 Application Architecture - Generic Repository The repository pattern has a static type so whenever we create an entity, we have to create a repository as well. A generic is a way to restrict to a type or to dynamically change types. Let's see how we can use a generic repository for multiple entities Project Configurations Creating a Project with MVC Pattern Server Architecture - Distributing Projects Server Structure An interface is a middl.. Application Architecture - Repository It is a good practice to separate business logic and data handling. Entity Framework provides an MVC pattern to separate them. However, as the size of a project grows, adding data handling codes directly in the controller file creates duplicate codes and becomes hard to test. A repository pattern is a design pattern that reduces duplication and makes testing easier. Let's see how we can implemen.. 이전 1 다음