I know the command timeout can be set using the context.Database.SetCommandTimeout method. But this changes the timeout for all the queries that are made using the same DbContext instance.
I know I can set the timeout, run the query and reset the timeout, but this feels like a hack. I want to set the timeout per query. Similar to how SqlCommand.CommandTimeout can be set in ADO.NET for each query. Is it possible to do that with EF Core?