I opened Azure Function and wanted to connect it to Azure SQL with entity frameworks (not core) code first approach, and I cant seem to connect them successfully
I have tryied 2 conventions in my local.settings.json file
1:
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"AzureWebJobsDashboard": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
"sqldb_connection": "{myConnectionString}"
},
2:
,
"ConnectionStrings": {
"BankContext": "{myConnectionString}"
}
- BankContext is the name of context model
Fuether more, when im debugging it it shows me another connection string to my local MSSQL server.
Thanks alot!


