title: Is it possible to query a parametrized table-valued function in sqlkata?
body: <p>I have a SQL table-valued function like this:</p>
  
  <pre>
  CREATE FUNCTION [Foo] (@bar VARCHAR(255))
  RETURNS @result TABLE 
  (
      [Column1] INT,
      [Column2] INT,
      [Column3] INT,
      [Column4] INT
  )
  ..
  </pre>
  
  <p>I'd like to be able to perform queries against it in SqlKata, by calling the function with a proper parameter.</p>
  
  <p>Is it possible? If so how?</p>
  
  <p>Note: This question is somehow related to <a href="https://stackoverflow.com/q/50664491/1288109">is there any way to create query including function in projection and outer apply in sqlkata?</a> , but I need to pass a parameter too.</p>