title: Convert EntityReference to Entity
body: <p>Does anyone know how can Convert EntityReference to Entity. </p>
  
  <pre class="lang-cs prettyprint-override"><code>protected override void Execute(CodeActivityContext executionContext)
  {
      [Input("Email")]
      [ReferenceTarget("email")]
      public InArgument&lt;Entity&gt; EMail { get; set; }
  
  
      Entity MyEmail = EMail.Get&lt;Entity&gt;(executionContext);
  </code></pre>
  
  <p>This give me an error. Cannot convert this. </p>