title: A circular reference was detected while serializing an object of type in asp.net and sql
body: <p>I am trying to fill gridpanel to get data from database through LINQ in .net framework 3.5 MVC and in Extjs MVC.</p>
  
  <p>I am able to archive to get all data sucessfully from following code</p>
  
  <pre><code>public Object Get()
  {
       var employeeList = _db.Employees;
       var result = new
       {
           data = employeeList
       };
       return this.Json(result, JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>but when i am passing data to extjs model it will give following Error
  <img src="https://i.stack.imgur.com/j4Mgc.png" alt="enter image description here"></p>
  
  <p>I am able to get my all data from database but Don't know where I am wrong?</p>