@@ -158,7 +158,7 @@ protected override void ProcessCompletedTask(AsyncDataSourcePageTaskHolder compl
158158 ODataVirtualDataSourceProviderTaskDataHolder h = ( ODataVirtualDataSourceProviderTaskDataHolder ) taskDataHolder ;
159159 IDataSourceSchema schema = null ;
160160 IEnumerable < IDictionary < string , object > > result = null ;
161- IGroupInformation [ ] groupInformation = null ;
161+ ISectionInformation [ ] groupInformation = null ;
162162 int schemaFetchCount = - 1 ;
163163 bool isAggregationSupportedByServer = false ;
164164 bool isGrouping = false ;
@@ -305,7 +305,7 @@ private IDataSourceSchema ResolveSchema()
305305 ODataSchemaProvider sp = new ODataSchemaProvider ( metadataDocument ) ;
306306 return sp . GetODataDataSourceSchema ( this . _entitySet ) ;
307307 }
308- private IGroupInformation [ ] ResolveGroupInformation ( )
308+ private ISectionInformation [ ] ResolveGroupInformation ( )
309309 {
310310 //TODO: both this and the schema fetch should
311311 //be async, and we may just hold up page delivery until present.
@@ -393,7 +393,7 @@ private IGroupInformation[] ResolveGroupInformation()
393393 var t = _client . FindEntriesAsync ( commandText , annotations ) ;
394394 t . Wait ( ) ;
395395 var res = t . Result ;
396- List < IGroupInformation > groupInformation = new List < IGroupInformation > ( ) ;
396+ List < ISectionInformation > groupInformation = new List < ISectionInformation > ( ) ;
397397 List < string > groupNames = new List < string > ( ) ;
398398
399399 foreach ( var group in _groupDescriptions )
@@ -431,7 +431,7 @@ private IGroupInformation[] ResolveGroupInformation()
431431 }
432432 }
433433
434- private static void AddGroup ( List < IGroupInformation > groupInformation , List < string > groupNames , string [ ] groupNamesArray , int currentIndex , IDictionary < string , object > group )
434+ private static void AddGroup ( List < ISectionInformation > groupInformation , List < string > groupNames , string [ ] groupNamesArray , int currentIndex , IDictionary < string , object > group )
435435 {
436436 List < object > groupValues = new List < object > ( ) ;
437437 foreach ( var name in groupNames )
@@ -446,7 +446,7 @@ private static void AddGroup(List<IGroupInformation> groupInformation, List<stri
446446 {
447447 groupCount = Convert . ToInt32 ( group [ "$__count" ] ) ;
448448 }
449- DefaultGroupInformation groupInfo = new DefaultGroupInformation (
449+ DefaultSectionInformation groupInfo = new DefaultSectionInformation (
450450 currentIndex ,
451451 currentIndex + ( groupCount - 1 ) ,
452452 groupNamesArray ,
@@ -459,7 +459,7 @@ private static void AddGroup(List<IGroupInformation> groupInformation, List<stri
459459 public const int SchemaRequestIndex = - 1 ;
460460 private SortDescriptionCollection _groupDescriptions ;
461461 private bool _isAggregationSupportedByServer = false ;
462- private IGroupInformation [ ] _groupInformation = null ;
462+ private ISectionInformation [ ] _groupInformation = null ;
463463
464464 protected override void MakeTaskForRequest ( AsyncDataSourcePageRequest request , int retryDelay )
465465 {
0 commit comments