﻿<?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 - Design</title><link>http://www.intersoftsolutions.com/Community/Tags/Design/</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>Designdata for ClientUI Data Application</title><link>http://www.intersoftsolutions.com/Community/Tags/Design/</link><pubDate>Wed, 12 Oct 2011 09:13:38 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>Design</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would like to display test data in the UXGridView (ClientUI Data App Template) during the design-time. How do I implement this? Probably, I have to create a DesignNorthwindDomainContext and customize the RepositoryManager.cs as follows:&lt;/p&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;RepositoryManager 
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;static&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;NorthwindDomainContext&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; Create() &lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;//return new NorthwindDomainContext(); 
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;DesignerProperties&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.IsInDesignTool ? (&lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;NorthwindDomainContext&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;)&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; DesignNorthwindDomainContext() : &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;NorthwindDomainContext&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;(); &lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;How do I create the DesignNorthwindDomainContext? You may have an sample? Thank you for the support!&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item></channel></rss>