SilverlightShow: Working with collections in WCF RIA Services (part 1) Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Working with collections in WCF RIA Services (part 1) <p class="MsoNormal"><span lang="EN-US">Welcome to Moncler exclusive online store.We specialize in <strong><em><a href="http://www.mmonclerr.com/">Moncler sale</a></em></strong> cover <strong><em><a href="http://www.mmonclerr.com/2011-Moncler-Jackets-CL1.html">2011 Moncler Jackets</a></em></strong>,coats,vest business line.Time to enjoy your life freestyle in discount season.<o:p></o:p></span></p> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment7193 IcelemonIce http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Fri, 11 Nov 2011 05:49:17 GMT RE: Working with collections in WCF RIA Services (part 1) I enjoy WCF RIA Services for the most part, but it is pretty stunning that many-to-many relationship support is so lacking. http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6112 almostEric http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Wed, 11 May 2011 00:54:55 GMT RE: Working with collections in WCF RIA Services (part 1) <p>Hello weitzhandler, you can find the EntityList in the WCF RIA Services Toolkit, in <span style="color: #535353; font-family: arial, verdana, tahoma, sans-serif; font-size: 14px; line-height: 20px;">Microsoft.Windows.Data.DomainServices</span>.  The assembly is included in the example solution (if you do not want to download the complete toolkit).</p> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6105 KevinDockx http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 15:12:42 GMT RE: Working with collections in WCF RIA Services (part 1) I haven't found the EntityList<TEntity> but rather found the EntityCollection<TEntity>.<br> </br>What's the differences, have I missed something? http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6104 weitzhandler http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 14:41:32 GMT RE: Working with collections in WCF RIA Services (part 1) <p>Hi Kevin,</p> <p>Thank you for your quick reply. I tried adding a new item to the DomainContext, instead of the EntityList the DCV used as source, but that did not work either. I will try other ways. </p> <p>After using the DataForm I still like the possibilities of it, but not the control itself.</p> <p>Greetings,<br /> Teun</p> <p>Ps. sorry about the repost of the question.</p> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6103 Teun http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 14:12:09 GMT RE: Working with collections in WCF RIA Services (part 1) <p>Hi Kevin,</p> <p>have you tried using the DomainCollectionView source for the DataForm? Because I get exceptions if the DCV is sorted when adding a new item.</p> <p>Do you maybe know a work around?</p> <p>Greetings,<br /> Teun</p> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6102 Teun http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 13:59:42 GMT RE: Working with collections in WCF RIA Services (part 1) <div style="padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: left; word-wrap: break-word;"> <p>Hello Teun,</p> <p><br /> </p> <p>I don't work with the DataForm (not too fond of that control...), but one thing you might want to look into: the DCV is in essence a view which works on servers-side data, which implies adding data should be done on the server (eg: to the context & submit changes) after which the DCV can be refreshed/reloaded.  Adding/removing data on the client on the DCV itself will typically result in unexpected behaviour, as it's not supposed to work like that. IMO, the DCV should even block an action like that, but at the moment it's still allowed (yet unusable).</p> <p>Hope this helps!</p> </div> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6101 KevinDockx http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 13:56:03 GMT RE: Working with collections in WCF RIA Services (part 1) <p>Hi Kevin,</p> <p>have you tried using the DomainCollectionView source for the DataForm? Because I get exceptions if the DCV is sorted when adding a new item.</p> <p>Do you maybe know a work around?</p> <p>Greetings,<br /> Teun</p> http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx#comment6100 Teun http://www.silverlightshow.net/items/Working-with-collections-in-WCF-RIA-Services-part-one.aspx Tue, 10 May 2011 13:31:49 GMT