Esempio n. 1
0
 void gridManage_OnGetDataSource(object sender, EventArgs e)
 {
     PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions();
     options.PageSize      = gridManage.PageSize;
     options.PageNumber    = gridManage.CurrentPageIndex;
     gridManage.DataSource = SessionManager.GetCollection <TransitPlacePicture, PlaceService.ServiceQueryOptions, int>(
         RequestId, options, SessionManager.PlaceService.GetPlacePictures);
 }
Esempio n. 2
0
 protected override IEnumerable GetResults()
 {
     PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize = Grid.PageSize;
     return SessionManager.GetCollection<TransitPlace, PlaceService.ServiceQueryOptions, string>(
         SearchQuery, options, SessionManager.PlaceService.SearchPlaces);
 }
Esempio n. 3
0
 void gridManage_OnGetDataSource(object sender, EventArgs e)
 {
     PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions();
     options.PageSize = gridManage.PageSize;
     options.PageNumber = gridManage.CurrentPageIndex;
     gridManage.DataSource = SessionManager.GetCollection<TransitPlacePicture, PlaceService.ServiceQueryOptions, int>(
         RequestId, options, SessionManager.PlaceService.GetPlacePictures);
 }
Esempio n. 4
0
 protected override IEnumerable GetResults()
 {
     PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize   = Grid.PageSize;
     return(SessionManager.GetCollection <TransitPlace, PlaceService.ServiceQueryOptions, string>(
                SearchQuery, options, SessionManager.PlaceService.SearchPlaces));
 }