fsprojects / SQLProvider

A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
https://fsprojects.github.io/SQLProvider
Other
572 stars 146 forks source link

IndexOutOfRangeException when invoking a scalar function #598

Closed TheJayMann closed 5 years ago

TheJayMann commented 5 years ago

Description

When attempting to invoke a scalar function, before the database call can be made, an IndexOutOfRangeException occurs.

Related information

Version 1.1.45 works without issue. Version 1.1.47 and later all appear to throw the exception.

Thorium commented 5 years ago

After 1.1.45 there were some work fixing SQL Server output parameters, I expect the bug is side effect of those changes.

Thorium commented 5 years ago

Fixed in 1.1.58.

TheJayMann commented 5 years ago

I can confirm this update fixed the issue.