How to use dynamic keywork to work with entity framework
<p>I am using .net framework 3.5 framework &amp; for database operations entity framework. So, to fetch the data i am using LINQ queries &amp; returns a resultset in a list.
e.g</p>

<pre><code>public class Emp
{
 public int CD{get;set;}
 public string Name{get;set;}
}


public List&lt;Emp&gt; GetServTypeForPromotionDue()
{
        return (from a in Context.TableName
                    select new Emp{ a.CD, a.NAME });

}
</code></pre>

<p>I am planning to migrate from 3.5 to 4.0. I have heard about dynamic keyword in .net 4.0. Can i make use of 'dynamic' keyword in order to remove the Class Emp &amp; without creating Anonymous methods? </p>
