The property 'StatusId' is part of the object's key information and cannot be modified
<p>I am using entity frame work when I tried to modify  <code>rm.StatusId = 3;</code>
 I get the title question error.
Also please give me links to know each and everything about entity frame work with asp .net controlls.</p>

<pre><code>if (chk.Checked == true)
{
   MAtt_RequestMaster rm =
      ctx.MAtt_RequestMaster.SingleOrDefault(p =&gt; p.AutoID ==id);
   rm.StatusId = 3;
   ctx.SaveChanges();
}
</code></pre>
