<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" 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/" > <channel><title>Comments on: WCF-LINQ Exception : Cycled Object Reference</title> <atom:link href="http://www.richnetapps.com/wcf-linq-exception-cycled-object-reference/feed/" rel="self" type="application/rss+xml" /><link>http://www.richnetapps.com/wcf-linq-exception-cycled-object-reference/</link> <description>Internet Applications - Flash, Flex, Silverlight, JavaFX</description> <lastBuildDate>Thu, 29 Jul 2010 21:00:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>By: raffaeu</title><link>http://www.richnetapps.com/wcf-linq-exception-cycled-object-reference/comment-page-1/#comment-618</link> <dc:creator>raffaeu</dc:creator> <pubDate>Wed, 13 Jan 2010 18:16:52 +0000</pubDate> <guid isPermaLink="false">http://www.richnetapps.com/?p=507#comment-618</guid> <description>Hi, there is a better and easier way. You should decorate the DTO or the Linq Entity in this way:    [DataContract(Name = &quot;MyClass&quot;, Namespace = &quot;Dto&quot;, &lt;strong&gt;IsReference = true)&lt;/strong&gt;]     public sealed class MyClass     {     }You have to do the same for Parent and Child objects. Cheers, Raffaeu.</description> <content:encoded><![CDATA[<p>Hi, there is a better and easier way.<br /> You should decorate the DTO or the Linq Entity in this way:</p><p>    [DataContract(Name = "MyClass", Namespace = "Dto", <strong>IsReference = true)</strong>]<br />     public sealed class MyClass<br />     {<br />     }</p><p>You have to do the same for Parent and Child objects.<br /> Cheers, Raffaeu.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: www.richnetapps.com @ 2010-07-30 09:57:31 by W3 Total Cache -->