29 lines
906 B
C#
29 lines
906 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
|
|
namespace Kreta.Framework.Util
|
|
{
|
|
public class GridParameters
|
|
{
|
|
public GridParameters()
|
|
{
|
|
OrderDictionary = new Dictionary<string, ListSortDirection>();
|
|
FirstRow = 0;
|
|
LastRow = -1;
|
|
LoadResultSetInfo = false;
|
|
OrderBy = string.Empty;
|
|
}
|
|
|
|
public Dictionary<string, ListSortDirection> OrderDictionary { get; set; }
|
|
|
|
public int FirstRow { get; set; }
|
|
|
|
public int LastRow { get; set; }
|
|
|
|
public bool LoadResultSetInfo { get; set; }
|
|
|
|
[Obsolete("Az OrderDictionary-t kell használni a jövőben, mivel a Dal-ból a Web-re lett áthozva a SortingAndPaging-je a grid-eknek. Ha ki lett írtva mindenhol a Dal-os SortingAndPaging, akkor törölni kell!")]
|
|
public string OrderBy { get; set; }
|
|
}
|
|
}
|