title: The FunctionImport 'GetEmployee' could not be found in the container 'CtxDb'
body: <p>I'm trying to call a <code>stored procedure</code> by using <code>Linq</code>. For that I wrote this code:</p>
  
  <pre><code> public class CtxDb:DbContext
      {
          protected override void OnModelCreating(DbModelBuilder modelBuilder)
          {
              base.OnModelCreating(modelBuilder);
  
          }
          public virtual ObjectResult&lt;Employee&gt; GetEmployee()
          {
              return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction&lt;Employee&gt;("GetEmployee");
          }
      }
  </code></pre>
  
  <p>When I'm calling my sp from <code>Web API</code> I'm getting an error:</p>
  
  <blockquote>
    <p>The FunctionImport 'GetEmployee' could not be found in the container
    'CtxDb'</p>
  </blockquote>