title: Error updating EDMX file
body: <p>I've seen some other posts about this, but none of the answers seem to help. I'm trying to add a stored procedure to an EDMX. I open the diagram, right-mouse-click, and choose "Update Model from Database." I choose "Yes" for including sensitive data and I uncheck the "Save connection settings in App.config." (This EDMX is inside a class library that's sole purpose is housing this EDMX). I click Next, and choose the "Add" tab. I expand "Stored Procedures and Functions" and then find and click the checkbox for my stored proc. I only check the "Import selected stored procedures and functions into the entity model" and click "Finish." The error I receive is:</p>
  
  <pre><code>An exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is 'Identifier is null or empty!".
  </code></pre>
  
  <p>I save the diagram. I search the entire solution for the name of my proc, and it only exists in the code that is trying to call it - there is no instance inside the EDMX.</p>
  
  <p>The stored proc definition looks like this:</p>
  
  <pre><code>ALTER Procedure [dbo].[spGetCountableResult]
      @PatientId BIGINT
  AS 
  </code></pre>
  
  <p>My connection string looks like this:</p>
  
  <pre><code>&lt;add name="DB_Entities" connectionString="metadata=res://*/Models.DBContext.csdl|res://*/Models.DBContext.ssdl|res://*/Models.DBContext.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=DB.com;initial catalog=MyDb;user id=MyUser;password=MyPassword;multipleactiveresultsets=True;application name=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
  </code></pre>
  
  <p>My package.config entry is:</p>
  
  <pre><code>&lt;package id="EntityFramework" version="6.1.3" targetFramework="net45" /&gt;
  </code></pre>
  
  <p>Anyone know what's going wrong here?</p>
  
  <p>V</p>