Last post May 15, 2013 09:11 AM by Illeris
May 12, 2013 03:47 PM|armandar|LINK
does repository pattern suitble for MVC application has too many CRUD Forms?
May 13, 2013 09:24 AM|Ratndeep|LINK
Hope it helps you..
May 13, 2013 09:30 AM|Illeris|LINK
There is no relation between an implementation of a pattern (such as the repository pattern), and the fact there can be many operations (diversity or volume). In your sample, even MVC is a pattern.
However, if you have to many CRUD operations, perhaps you should focus on changing this aspect by restructuring your code and creating something that is more open. Example
May 13, 2013 09:33 AM|Rion Williams|LINK
The Repository Pattern actually suits MVC Applications very well (I have used it extensively in many different areas). There isn't really any direct coorelation between the number of CRUD Forms that you have and a specific design pattern that you
use as most of these forms can be reused very easily.
It is ultimately up to you to design your objects and classes so that it creates the least amount of work within your application to perform these tasks.
May 14, 2013 07:46 AM|armandar|LINK
thanks,do you have some comments for designing objects and classes or can you send me refrences for doing it?
very thank you
May 15, 2013 09:11 AM|Illeris|LINK
For repository pattern, you can check this doc http://msdn.microsoft.com/en-us/library/ff649690.aspx