DbColumn MembersEasyQuery WinForms API Reference

The DbColumn type exposes the following members.
Constructors

  NameDescription
Public methodDbColumn 
Initializes a new instance of the DbColumn class.
Public methodDbColumn(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.
(Inherited from Column.)
Protected methodCheckForParams
Checks if the attribute associated with this column contains parameters and (if yes) - calls RefreshParams  method.
(Inherited from Column.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExprChangeHandler
Expression's Change event handler.
(Inherited from Column.)
Protected methodFillTablesList
Fills the list of used tables.
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 methodGetAlias
Gets the column alias (for SELECT or ORDER BY clause).
Public methodGetAttribute
Gets the attribute associated with this column
(Inherited from Column.)
Public methodGetGroupByExpr
Gets the column's expression using in GROUP BY clause.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetOrderByExpr
Gets the columns expression for ORDER BY clause.
Public methodGetSelectExpr
Gets the columns expression for SELECT clause.
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
(Inherited from Column.)
Public methodLoadFromXmlReader
Loads Column definition from XML.
(Inherited from Column.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnColumnChanged
Raises the ColumnChanged event.
(Inherited from Column.)
Protected methodOnColumnChanging
Called when the column is about to change.
(Inherited from Column.)
Protected methodRecreateExpression
Recreates the column expression.
(Overrides Column RecreateExpression(String).)
Protected methodRegenerateCaption
Regenerates the column caption.
(Inherited from Column.)
Public methodSaveToXmlWriter
Saves the column definition to XML.
(Inherited from Column.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUseAlias
Gets a value indicating whether this column used the alias name or not.
Back to Top
Fields

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

  NameDescription
Public propertyAggregate
Gets a value indicating whether this Column is aggregate.
(Overrides Column Aggregate.)
Public propertyAlias
Gets or Setsthe column alias.
(Inherited from Column.)
Public propertyAllowSorting
Gets a value indicating whether this column can be sorted.
(Inherited from Column.)
Public propertyBaseAttr
Gets the entity attribute (EntityAttr object) this column is based on.
(Overrides Column BaseAttr.)
Public propertyCaption
Gets or sets the column caption.
(Inherited from Column.)
Public propertyDistinct
Gets or sets a value indicating whether this Column must be marked as DISTINCT in result SQL statement.
(Inherited from Column.)
Public propertyExpr
Gets or sets the column expression.
(Inherited from Column.)
Public propertyExprType
Gets or sets the type name of the expression.
(Inherited from Column.)
Public propertyIndex
Gets the index of column in column list.
(Inherited from Column.)
Public propertyIsJustSorting
Gets a value indicating whether this column is just sorting one (will not be shown in query result).
(Inherited from Column.)
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.
(Inherited from Column.)
Public propertyParentQuery
Gets the parent query.
(Inherited from Column.)
Public propertyReadOnly
Gets or sets a value indicating whether this columns marked as read only.
(Inherited from Column.)
Public propertySortIndex
Gets or sets the index of the column in the sorting list. Is used to load the column from XML.
(Inherited from Column.)
Public propertySorting
Gets or sets the sorting.
(Overrides Column Sorting.)
Public propertySystemType
Gets the system type of this column.
(Inherited from Column.)
Public propertyUsedTables
Gets the used tables.
Back to Top
Events

  NameDescription
Public eventColumnChanged
Indicates that column was changed.
(Inherited from Column.)
Back to Top
See Also