title: EntityFrameWork and TableValued Parameter
body: <p>I'm trying to call a stored procedure from <strong>EntityFramework</strong> which uses <strong>Table-value</strong> parameter.</p>
  
  <p>But when I try to do function import I keep getting a warning message saying -</p>
  
  <blockquote>
    <p>The function 'InsertPerson' has a parameter 'InsertPerson_TVP' at
    parameter index 0 that has a data type 'table type' which is currently
    not supported for the target .NET Framework version. The function was
    excluded.</p>
  </blockquote>
  
  <p>I did a initial search here and found few posts which says It's possible in EntityFrameWork with some work arounds and <a href="https://stackoverflow.com/questions/2837350/table-valued-parameter-in-stored-procedure-and-the-entity-framework-4-0">few</a> saying it's not supported in current versions.  </p>
  
  <p>Does any one know a better approach or solution for this problem?</p>