﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Question about Editable Grids, ViewModels, and Repositories</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Question-about-Editable-Grids-ViewModels-and-Repositories/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Question about Editable Grids, ViewModels, and Repositories</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Question-about-Editable-Grids-ViewModels-and-Repositories/</link><pubDate>Tue, 02 Jul 2013 23:35:38 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Yes, you can use the approach so that you don’t have to create repositories for each class.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;As you can see in our sample, it has a large generic repository (usually placed inside ModelServices.Infrastructure folder). Next, we can add the required repository (and placed them inside ModelServices folder).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please feel free to let us know if you have other thoughts.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Question about Editable Grids, ViewModels, and Repositories</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Question-about-Editable-Grids-ViewModels-and-Repositories/</link><pubDate>Mon, 01 Jul 2013 23:53:28 GMT</pubDate><dc:creator>BillGower</dc:creator><description>&lt;p&gt;I have an app that has many UXGridViews. Most of them are read only. They are located on a UXPage and are used as a Locator grid for users to locate records they want to work on. For example I have an Employers List View which as text boxes and  drop downs in the upper part of the form and a grid in the bottom. They put in filter data and click find. The resulting rows are displayed in the gird. They can then click add or edit or delete. These are non editable grids. Or I have other child grids which have add, edit and delete buttons that display detail dialog boxes for the user to enter data and then the data is displayed in the read only grids.&lt;/p&gt;
&lt;p&gt;Then I have editable grids. Maybe at the most i will have 10 to 15 editable grids.&lt;/p&gt;
&lt;p&gt; I notice that in your sample apps you have separate respositories for each class that uses a editable grid. &lt;/p&gt;
&lt;p&gt;I have almost 200 classes in my app, to many to have one repository for each class. but then the majority of them dont use editable grids. So I have all my creates, deletes, save, import and clearAll methods in one large repository.&lt;/p&gt;
&lt;p&gt;What i am wondering is as i add editable grids to my app which I may at the most need about 10 to 15. For those grids, I will have a separate repository for the classes using those grids. So I will have one large Repository which will house the data calls for the majority of my classes and 10 to 15 repositories for the classes that will be hosted in editable grids.&lt;/p&gt;
&lt;p&gt;If this the best approach?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>