C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Use Full Of Repository Pattern
WhatsApp
Shirsendu Nandi
13y
6.4
k
0
0
25
Blog
In somany many applications, the business logic accesses data from data stores such as databases, SharePoint lists, or Web services.SO Directly accessing the data can result in the follodirect wing:
Duplicated code
A higher potential for programming errors
An inability to easily test the business logic
A repository separates the business logic from the direct interactions with the underlying data source or Web service.
The Benefits are
It provides a substitution point for the unit tests.
MAintainebility of codes
Interactions of the repository to Datasource
Use Full Of Repository Pattern
Recommended related topics
Membership not found