title: How do I call a TSQL function from ado.net
body: <p>I have a function defined in SQL Server (that takes a string and a int) how do I call it with ADO.NET?</p>
  
  <p>(If it is 100% same as calling a stored proc, please just say so, as there a lot of examples on calling stored procs about)</p>