title: The type argument for method cannot be inferred from the usage
body: <p>I am new in programming, when i write a code for particular function, i find this below error. Please help me to solve this error.</p>
  
  <pre><code>public IList&lt;ScoreCardListItemTO&gt; UpdateDate(bool IsScoreCardUpdate, bool IsInputHeaderUpdate, long ScoreCardId,
      long ScoreCardSubmitResponseId, long QuestionId, DateTime UpdatedOn)
  {
      var parameters = new[]
      {
          new ObjectParameter("IsScoreCardUpdate", IsScoreCardUpdate ),
          new ObjectParameter("IsInputHeaderUpdate", IsInputHeaderUpdate ),
          new ObjectParameter("ScoreCardId", ScoreCardId ),
          new ObjectParameter("ScoreCardSubmitResponseId", ScoreCardSubmitResponseId ),
          new ObjectParameter("QuestionId", QuestionId),
          new ObjectParameter("UpdatedOn", UpdatedOn),
      };
  
      ObjectResult items = ExecuteEqmFunction("SyncUpdateOnColumn", string.Empty );
      return items;
  }
  </code></pre>
  
  <p>the error show at this line</p>
  
  <pre><code>ObjectResult items = ExecuteEqmFunction("SyncUpdateOnColumn", string.Empty );
  return items;
  </code></pre>
  
  <p>The error state that</p>
  
  <blockquote>
    <p>Error 42  The type arguments for method
    'EQM.DataLayer.EqmRepository.ExecuteEqmFunction(string,
    string, params System.Data.Objects.ObjectParameter[])' cannot be
    inferred from the usage. Try specifying the type arguments explicitly.</p>
  </blockquote>