private QueryPerformanceResult<Item> RunWhereTestForIndexedByString(IndexableReadOnlyCollection<Item> IndexableReadOnlyCollection, Int32 ItemName) { return ( from item in IndexableReadOnlyCollection where item.Name == ItemName.ToString() select item ).ExecuteQueryPerformanceResult(); }
private QueryPerformanceResult<Item> RunOrderdByWhereTestForIndexedByString(IndexableReadOnlyCollection<Item> IndexableReadOnlyCollection, Int32 ItemName) { return ( from item in IndexableReadOnlyCollection where item.Name == ItemName.ToString() orderby item.Average ascending select item ).ExecuteQueryPerformanceResultWithTrace(); }