cannot implicitly convert type using ASP.Net Entity data model
<p>I am using ASP.Net Entity data model see in Image (Model.edmx) few days before it works fine but I got error see in diagram but when I run project it work fine but when  re-build solution I got error see image in second image. if </p>

<p>I Change like following </p>

<pre><code>var content = contextObj.PersonalInfoes.Where(a =&gt; a.StudID == rolltemp).FirstOrDefault();
</code></pre>

<p>then error goes I donot understand why this error comes </p>

<p>I <a href="https://i.stack.imgur.com/9Y7rR.png" rel="nofollow"><img src="https://i.stack.imgur.com/9Y7rR.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/6wCtJ.png" rel="nofollow"><img src="https://i.stack.imgur.com/6wCtJ.png" alt="enter image description here"></a></p>

<p>Thanks in advance</p>