Hi,
Please try to put your connection string in local.settings.json as below:
And then you can get the conn string to add it into the db context in your function's startup.cs
public class Startup : FunctionsStartup
{
public override void Configure(IFunctionsHostBuilder builder)
{
FunctionsHostBuilderContext context = builder.GetContext();
string connString = context.Configuration.GetConnectionString("DataEntities");
}
}
Hope this could help you.