init
This commit is contained in:
29
Framework/Util/GridParameters.cs
Normal file
29
Framework/Util/GridParameters.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user