I need to be able to get something similar to the following to work:
Type type = ??? // something decided at runtime with .GetType or typeof; object[] entity
Resource[] entityList = context.Resources .Where(t => t.GetType() == typeof(HumanResource)) .ToArray();