I get an error trying to add a connection in LinqPad 8.4.11. I want to use the dbContext from a .Net 8 dll. The only choice it gives me is constructor for DBContextOptions, (connection string omitted)
which gives the following error:
Error Testing Custom EF Core Connection: A named connection string was used, but the name ‘sqlConnection’ was not found in the application’s configuration. Note that named connection strings are only supported when using ‘IConfiguration’ and a service provider, such as in a typical ASP.NET Core application. See https://go.microsoft.com/fwlink/?linkid=850912 for more information.