-
-
Notifications
You must be signed in to change notification settings - Fork 164
Repository Pattern
Repository is a concept that is used in order to write the information of all entity and value objects in an aggregate to the database. For each AR itself, we will perform the DB operations over the Repository as a whole in the transactinal structure. Repository basically prevents database work from being moved from the workstation to a database, thus preventing query and code repetition. In other words, the main purpose is to process data and interrogations into a central structure avoiding repetitions. In this way, we stay away from writing our database operations again and again in the business layer. The Repository Design Pattern has brought the logic of the sections that make the actual work in your program and the sections that access the data from each other. That is, it acts as an interface between the data layer and the business layer that uses this layer, and it also acts as an abstraction between these two layers. AspnetRun Repository and Specification implementation. This class responsible to create queries, includes, where conditions etc..
You can check full repository documentations, step by step development and how to build your custom scenario's on this basement in 100+ page eBook PDF from here - http://www.aspnetrun.com.