Attempts to speed up the attach process by caching in a private member the EntitySet sub properties of type TItem. Replaces foreach looping through the EntitySets with a Parallel ForEach.