title: self reference entity model in wcf service
body: <p>I created WCF service that returned a collection of product entities from an entity frame work model .that product has self-reference .I consume data from WCF service in silverlight application .
  i use Asynchronous methods . product entity was modeled this form of:</p>
  
  <pre><code>Public partial class Product
  {
  
      Public  Product(){
          this.product_11=new HashSet&lt;Product&gt;;
      }
  
      [DataMember]
      public int Id{get; set;}
      [DataMember]
      public Nullable&lt;int&gt; subPro{get; set;}
      [DataMember]
      Public virtual Icollection&lt;Product&gt; product_11{get; set;}
      [DataMember]
      Public virtual Product product_12{get; set;}
  }
  </code></pre>
  
  <p>and i use that in service methode</p>
  
  <pre><code>productEntity ef=new productEntity();
  
  [OperationContract]
  Public IEnumerable&lt;Product&gt; Getproduct()
  {
      return ef.Product;
  }
  </code></pre>
  
  <p>in run time whene call service methode i get Time out error</p>
  
  <p>"the HTTP request has ... exceeded the allotted timeout"</p>