Skip to content

ColumnStore class

Represents list of result columns.

public class Korzh.EasyQuery.ColumnStore
: ColumnList, IList<Column>, ICollection<Column>, IEnumerable<Column>, IEnumerable, IList, ICollection, IReadOnlyList<Column>, IReadOnlyCollection<Column>
TypeNameDescription
QueryparentQueryThe reference to parent Query object
TypeNameDescription
BooleanIsJustSortingGets a value indicating whether this instance of the column store is used for “just sorting” columns.
BooleanIsUpdatingGets a value indicating whether this Korzh.EasyQuery.ColumnList is updating.
DataModelModelGets or sets the reference to the data model.
QueryParentQueryGets the parent query.
SortedColumnListSortedColumnsGets the list of sorted columns.
TypeNameDescription
ColumnsChangedEventHandlerColumnsChangedOccurs after column list has been changed.
ColumnsChangingEventHandlerColumnsChangingOccurs when columns list is going to be changed.
TypeNameDescription
voidBeginUpdate()Begins the update process.
voidClearItems()Removes all elements from the System.Collections.ObjectModel.Collection'1.
voidCoreRefreshParams()Refreshes the list of query parameters by parameters associated with attributes used in query columns .
voidEndUpdate()Ends the update process.
voidInsertItem(Int32 index, Column item)Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
BooleanIsColumnsChangeAccepted(ChangeType what, Column column, Int32 info)Calls ColumnsChanging event and return boolean value that indicates whether the change is accepted.
voidLoadFromJsonDict(IEnumerable colList)Loads columns from IEnumerable object. Used for loading from JSON.
voidLoadFromXmlReader(XmlReader reader)Loads the column list using System.Xml.XmlReader object.
voidMove(Int32 index, Int32 newIndex)Moves the specified index of the current.
voidOnColumnsChanged(ColumnsChangeEventArgs e)Raises the ColumnsChanged event.
voidOnColumnsChanging(ColumnsChangingEventArgs e)Raises the ColumnsChanging event.
voidRefreshParams()
voidRemoveItem(Int32 index)Removes the element at the specified index of the System.Collections.ObjectModel.Collection'1.
voidResyncSortingList(Boolean changeInnerIndex)Resynchronizes the sorting list of columns correspondingly to their order.
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves the column list to XML.