I'm using Entity Framework Core to store and retrieve some data. I'm trying to write a general-purpose method that will work on any ...DbSet<T>... in order to avoid code duplication. This method runs a LINQ query against the set, for which it needs to kno...