title: How can I call SQL Server database function from MVC3 controller?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1056390/how-to-use-sql-user-defined-functions-in-net">How to use SQL user defined functions in .NET?</a>  </p>
  </blockquote>
  
  
  
  <p>Say I have created a SQL Server function <code>function1(int a,int b)</code> in my database, now how can I call this function in MVC3 controller ?</p>