コード例 #1
0
 protected override IEnumerable GetResults()
 {
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize = Grid.PageSize;
     return SessionManager.GetCollection<TransitAccountActivity, AccountService.ServiceQueryOptions, string>(
         SearchQuery, options, SessionManager.AccountService.SearchAccounts);
 }
コード例 #2
0
 protected override IEnumerable GetResults()
 {
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize   = Grid.PageSize;
     return(SessionManager.GetCollection <TransitAccountActivity, AccountService.ServiceQueryOptions, string>(
                SearchQuery, options, SessionManager.AccountService.SearchAccounts));
 }
コード例 #3
0
 void gridManage_OnGetDataSource(object sender, EventArgs e)
 {
     AccountPicturesQueryOptions ap = new AccountPicturesQueryOptions();
     ap.Hidden = false;
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageSize = gridManage.PageSize;
     options.PageNumber = gridManage.CurrentPageIndex;
     gridManage.DataSource = SessionManager.GetCollection<TransitAccountPicture, AccountService.ServiceQueryOptions, int, AccountPicturesQueryOptions>(
         RequestId, ap, options, SessionManager.AccountService.GetAccountPictures);
 }
コード例 #4
0
    void gridManage_OnGetDataSource(object sender, EventArgs e)
    {
        AccountPicturesQueryOptions ap = new AccountPicturesQueryOptions();

        ap.Hidden = false;
        AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
        options.PageSize      = gridManage.PageSize;
        options.PageNumber    = gridManage.CurrentPageIndex;
        gridManage.DataSource = SessionManager.GetCollection <TransitAccountPicture, AccountService.ServiceQueryOptions, int, AccountPicturesQueryOptions>(
            RequestId, ap, options, SessionManager.AccountService.GetAccountPictures);
    }