title: Convert ObjectResult<int?> into List<int>
body: <p>I have written a stored procedure :-</p>
  
  <pre><code>CREATE PROCEDURE GET_USERSTORYDATA_EXISTS
      @MyWizardUserStoryId INT
     ,@ProjectId INT
     ,@StoryTitle NVARCHAR(MAX)
  AS
  BEGIN
      SET NOCOUNT ON;
      IF EXISTS (SELECT 1 FROM USERSTORY WHERE [MyWizardUserStoryId]=@MyWizardUserStoryId AND ProjectId=@ProjectId)
      BEGIN
          IF EXISTS (SELECT 1 FROM USERSTORY WHERE [MyWizardUserStoryId]=@MyWizardUserStoryId AND ProjectId=@ProjectId AND Title=@StoryTitle)
          BEGIN
              SELECT 0;
          END
          ELSE
           BEGIN
              SELECT 1;
          END
      END
      ELSE
           BEGIN
              SELECT 1;
          END
  
  END
  GO
  </code></pre>
  
  <p>I have consumed this procedure via Entity framework :-</p>
  
  <pre><code>List&lt;Int32&gt;lst=context.GET_USERSTORYDATA_EXISTS(MyWizardUserStoryId,ProjectId,storyTitle);
  </code></pre>
  
  <p>but its giving me error:-</p>
  
  <pre><code>Can not implicitly convert type 'ObjectResult&lt;int?&gt;' to List&lt;int&gt;
  </code></pre>