Column MembersEasyQuery ASP.NET API Reference

The Column type exposes the following members.
Constructors

  NameDescription
Public methodColumn 
Initializes a new instance of the Column class.
Public methodColumn(String, SortDirection)
Initializes a new instance of the Column class.
Back to Top
Methods

  NameDescription
Protected methodCheckDataModel
Checks the data model object. Generates an exception if Model property has null value.
Protected methodCheckForParams
Checks if the attribute associated with this column contains parameters and (if yes) - calls RefreshParams  method.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExprChangeHandler
Expression's Change event handler.
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetAttribute
Gets the attribute associated with this column
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLoadFromDictionary
Loads column's properties from some OnlineIDictionary object. It's used for deserialization from JSON
Public methodLoadFromXmlReader
Loads Column definition from XML.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnColumnChanged
Raises the ColumnChanged event.
Protected methodOnColumnChanging
Called when the column is about to change.
Protected methodRecreateExpression
Recreates the column expression.
Protected methodRegenerateCaption
Regenerates the column caption.
Public methodSaveToXmlWriter
Saves the column definition to XML.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Protected fieldalias
Column alias
Protected fieldcaption
Column caption
Protected fielddistinct
A field that indicates whether this Column must be marked as DISTINCT in result SQL statement.
Protected fieldneedAliasRegeneration
Indicates whether alias should be recreated
Protected fieldparent
Parent columns storage.
Protected fieldsorting
Column sorting direction
Back to Top
Properties

  NameDescription
Public propertyAggregate
Gets a value indicating whether this Column is aggregate.
Public propertyAlias
Gets or Setsthe column alias.
Public propertyAllowSorting
Gets a value indicating whether this column can be sorted.
Public propertyBaseAttr
Gets the entity attribute (EntityAttr object) this column is based on.
Public propertyCaption
Gets or sets the column caption.
Public propertyDistinct
Gets or sets a value indicating whether this Column must be marked as DISTINCT in result SQL statement.
Public propertyExpr
Gets or sets the column expression.
Public propertyExprType
Gets or sets the type name of the expression.
Public propertyIndex
Gets the index of column in column list.
Public propertyIsJustSorting
Gets a value indicating whether this column is just sorting one (will not be shown in query result).
Public propertyModel
Gets or sets the reference to the data model where this column is defined.
Public propertyParent
Gets or sets the parent columns storage.
Public propertyParentQuery
Gets the parent query.
Public propertyReadOnly
Gets or sets a value indicating whether this columns marked as read only.
Public propertySortIndex
Gets or sets the index of the column in the sorting list. Is used to load the column from XML.
Public propertySorting
Gets or sets the sorting direction.
Public propertySystemType
Gets the system type of this column.
Back to Top
Events

  NameDescription
Public eventColumnChanged
Indicates that column was changed.
Back to Top
See Also