<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Passing an argument to a repository</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Passing an argument to a repository</description>
  <pubDate>Wed, 29 Jul 2026 11:17:04 -700</pubDate>
  <lastBuildDate>Fri, 24 Dec 2010 10:15:37 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2235</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Passing an argument to a repository : Updated MVVM Lite1 solution repositories...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=9473#9473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 24-Dec-2010 at 10:15am<br /><br />Updated MVVM Lite1 solution repositories and ViewModel to better reflect our current recommendations for repository interfaces. <DIV>&nbsp;</DIV><DIV>Retained the design repository for simplicity of this example. We recommend that you only have one version of a repository and switch between production, design, test, and development environments by swapping the EntityManager that is provided in the constructor parameter as we do in&nbsp;BookShelfDF; see <a href="http://links.ideablade.com/drc-bookshelf" target="_blank"><U><FONT color=#0066cc>http://links.ideablade.com/drc-bookshelf</FONT></U></A> </DIV>]]>
   </description>
   <pubDate>Fri, 24 Dec 2010 10:15:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=9473#9473</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository : @alindzon Don&amp;#039;t give up....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=9454#9454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 22-Dec-2010 at 4:33pm<br /><br />@alindzon Don't give up. But&nbsp;also&nbsp;cast your net wider. There are many examples out there to study. <DIV>&nbsp;</DIV><DIV>It is important to avoid blindly following any one example shown in demo code ... any demo code. There is no one way. And the author is not trying to account for every circumstance and often cuts corners in one area while concentrating on another.</DIV><DIV>&nbsp;</DIV><DIV>I would say that the Repository in MVVM Lite1 is only one example and, as it happens, not typical of the way I would write one today (which may be different from the way I'll write it tomorrow). You must look to these demos for inspiration ... not prescription.</DIV><DIV>&nbsp;</DIV><DIV>MVVM Lite is almost the simplest MVVM Light example we could write. The next step in the learning progression might be BookShelfDF; see <a href="http://links.ideablade.com/drc-bookshelf" target="_blank"><U><FONT color=#0066cc>http://links.ideablade.com/drc-bookshelf</FONT></U></A> </DIV><DIV>&nbsp;</DIV><DIV>BookShelf has a repository that better refects current thinking. You will notice that query&nbsp;methods return void rather than&nbsp;operation coordination objects (e.g, EntityQueryOperation&lt;T&gt;); I now recommend against returning&nbsp;the operation object.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The query signature&nbsp;now sports both success and fail callbacks as final parameters. The signarture doesn't include a collection to receive the results; it expects you to do what you will with the results returned to the success callback.&nbsp;I'm not against a collection parameter for everyone; I personally find it troublesome because, as a repository author, I don't know if I should clear the list first, create it, fill it, filter it further, turn off events while I'm filling, etc. etc.&nbsp; Better to leave those decisions to the caller (typically a VM). But you are welcome to think differently about all these points.</DIV><DIV>&nbsp;</DIV><DIV>MVVM Lite didn't have any parameterized queryies. You don't write a query method that you don't need.</DIV><DIV>&nbsp;</DIV><DIV>BookShelf DOES have parameterized queryies; see GetBooksByCategory. In my earlier reply I showed you an example that was similar in this respect. Did you have trouble with that? You didn't say in your subsequent posts.</DIV><DIV>&nbsp;</DIV><DIV>BookShelf is also a richer exploration of an application that combines design-time and runtime modalities. The accompanying document walks you through how that works and the tour video will provide clues too.</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps.</DIV>]]>
   </description>
   <pubDate>Wed, 22 Dec 2010 16:33:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=9454#9454</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository : Sorry to be so dense, but I am...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8920#8920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=875" rel="nofollow">alindzon</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 25-Oct-2010 at 9:00pm<br /><br /><P>Sorry to be so dense, but I am not clear how the design and production structure would look.</P><DIV>I am happy to give up on repositories unless someone can produce one clear example of how a devforce repository should look in the MVVM light world and how the viewmodel needs to interact with it.&nbsp; All this abstraction is giving me&nbsp;a headache.</DIV><DIV>&nbsp;</DIV><DIV>I have been using the way you organized the repository in your mvvm light example, which defines the interface, then each class for production and design, and finally the entiryqueryoperation for each.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 25 Oct 2010 21:00:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8920#8920</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository :  I might define as follows  public...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8918#8918</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 25-Oct-2010 at 7:42pm<br /><br /><FONT size=2><FONT face=C&#111;nsolas><FONT color=#0000ff><DIV><FONT color=#000000 size=3 face="Arial, Helvetica, sans-serif">I might define as follows</FONT></DIV><DIV>&nbsp;</DIV><DIV>public</FONT> <FONT color=#0000ff><FONT color=#0000ff><FONT color=#0000ff>interface</FONT></FONT></FONT> <FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLinkRepository </FONT></FONT></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas>{ </DIV><DIV></FONT><FONT size=2><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas>&nbsp; EntityQueryOperation</FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>&gt; LoadManufacturerLinks(</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=4><strong><FONT color=#2b91af>int </FONT>mfgID</strong>,</FONT> </FONT></FONT></FONT></DIV><DIV><FONT size=4 face=C&#111;nsolas><strong>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>Action&lt;ICollection</FONT></FONT></FONT>&lt;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLink</FONT></FONT></FONT>&gt;&gt; OnSuccess, </strong></FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=4><strong>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>Action<FONT color=#000000>&lt;<FONT color=#2b91af>EntityQueriedEventArgs</FONT>&lt;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLink</FONT></FONT></FONT>&gt;&gt;</FONT></FONT></FONT></FONT> OnFail</strong></FONT>);</FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>}</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas><FONT color=#0000ff>&nbsp;</FONT><DIV><FONT color=#000000 size=3 face="Arial, Helvetica, sans-serif">or perhaps, if you didn't want to leave the operation result backdoor available, ...</FONT></DIV><DIV>&nbsp;</DIV><DIV>public <FONT color=#0000ff><FONT color=#0000ff><FONT color=#0000ff>interface</FONT></FONT></FONT> <FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLinkRepository </FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas>{ </DIV><DIV></FONT><FONT size=2><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas><FONT color=#2b91af face=C&#111;nsolas>&nbsp; void </FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>LoadManufacturerLinks(</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=4><strong><FONT color=#2b91af>int </FONT>mfgID</strong>,</FONT> </FONT></FONT></FONT></DIV><DIV><FONT size=4 face=C&#111;nsolas><strong>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>Action&lt;ICollection</FONT></FONT></FONT>&lt;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLink</FONT></FONT></FONT>&gt;&gt; OnSuccess, </strong></FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=4><strong>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>Action<FONT color=#000000>&lt;<FONT color=#2b91af>EntityQueriedEventArgs</FONT>&lt;<FONT color=#2b91af><FONT color=#2b91af><FONT color=#2b91af>ManufacturerLink</FONT></FONT></FONT>&gt;&gt;</FONT></FONT></FONT></FONT> OnFail</strong></FONT>);</FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas>}</DIV></FONT></FONT></FONT></DIV></FONT></FONT></FONT><span style="font-size:10px"><br /><br />Edited by WardBell - 25-Oct-2010 at 7:53pm</span>]]>
   </description>
   <pubDate>Mon, 25 Oct 2010 19:42:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8918#8918</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository : I cannot figure out how to add...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8917#8917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=875" rel="nofollow">alindzon</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 25-Oct-2010 at 5:08pm<br /><br /><P>I cannot figure out how to add a parameter.&nbsp; Where do you put it?</P><DIV></DIV>]]>
   </description>
   <pubDate>Mon, 25 Oct 2010 17:08:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8917#8917</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository : I don&amp;#039;t understand the question...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8843#8843</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 19-Oct-2010 at 10:32pm<br /><br /><P>I don't understand the question in relation to the code that defines the Repository.</P><DIV>Why doesn't your "LoadManufacturersLinks" method take a Manufacturer ID parameter. I must be missing something.</DIV>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 22:32:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8843#8843</guid>
  </item> 
  <item>
   <title>Passing an argument to a repository : I am stuck on something which...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8812#8812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=875" rel="nofollow">alindzon</a><br /><strong>Subject:</strong> 2235<br /><strong>Posted:</strong> 18-Oct-2010 at 9:20am<br /><br />I am stuck on something which shows how green I am at MVVM and even C#.<DIV>&nbsp;</DIV><DIV>I have setup a repository to query a table and return a subset based on a parameter that comes from the current selection of the parent datagrid.&nbsp; i.e. when I select a manufacturer I want to populate related links and addresses in a child grid.</DIV><DIV>&nbsp;</DIV><DIV>I cannot for the life of me figure out how to pass in the current manufacturer ID.</DIV><DIV>&nbsp;</DIV><DIV>This is what I have in the repository, where do I add an argument so it can be passed in, and how does it get passed?&nbsp; right now it just loads the data for the first manufacturer and I have no idea how to get it to update, or to pass the currentid.</DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>interface</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>{</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>EntityQueryOperation</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt; LoadManufacturerLinks(</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ICollection</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt; results, </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Action</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> success);}</P><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkProductionRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> : </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>{</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>EntityQueryOperation</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt; LoadManufacturerLinks(</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ICollection</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt; results, </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Action</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> success)</P><P>{etc...</P><DIV></DIV><DIV>and in the viewmodel when it first loads the data</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>ManufacturerLinks = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ObservableCollection</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLink</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt;();</DIV><DIV><DIV>and later</FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas></FONT></FONT></FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> _linkrepository;</DIV></DIV><DIV><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> GetLinkRepository(){</P><P>LinkRepo = IsInDesignMode ? (</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkDesignRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>() :</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkProductionRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>();</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> LinkRepo;}</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ManufacturerLinkRepository</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> LinkRepo{</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>get</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> { </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> _linkrepository ?? GetLinkRepository(); }</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>set</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> { _linkrepository = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>value</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>; }}</P><DIV></DIV></FONT></FONT></DIV></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 18 Oct 2010 09:20:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2235&amp;PID=8812#8812</guid>
  </item> 
 </channel>
</rss>