Closed jesserizzo closed 2 years ago
Ok this is fixed now, I needed to call
Insight.Database.Providers.MsSqlClient.SqlInsightDbProvider.RegisterProvider();
Ok this is fixed now, I needed to call
Insight.Database.Providers.MsSqlClient.SqlInsightDbProvider.RegisterProvider();
Right, but where, exactly?
Describe the bug
Created a new Azure Function project in an existing sln. Insight works fine in the API project, but fails when called from the Function App with the message
Cannot derive parameters for the stored procedure GetEmployerPaidStatus. Have you loaded the provider that supports SqlCommand?
Steps to reproduce
Create a new timer triggered Azure function (
func init
andfunc new
commands) Run the following codeExpected behavior
Insight should be able to call the stored procedure