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