EntityAttr MembersEasyQuery WinForms API Reference

The EntityAttr type exposes the following members.
Constructors

  NameDescription
Public methodEntityAttr
Initializes a new instance of the OnlineAttribute class.
Back to Top
Methods

  NameDescription
Protected methodCheckModel
Checks the Model property and raises an exception if it's null.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodFillOperatorsWithDefaults
Fills the operators list with default operators depending of attribute type.
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.)
Protected methodGetDataAttrFullExpr
Gets full expression of the entity attribute.
Public methodGetDefaultOperator
Gets the default operator (usually it is first operator in Operations list).
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 methodGetValueEditor
Gets the most suitalbe value editor for this attribute and operator.
Public methodHasParams
Determines whether this attribute has parameters in its expression.
Protected methodLoadAttribute
Loads the attribute.
Public methodLoadFromProperty
Fills the content of entity attribute by some property (specified by PropertyInfo object).
Public methodLoadFromXmlReader
Loads attribute from XML reader.
Protected methodLoadNodes
Loads the sub-nodes of entity attribute's node.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnModelAssignment
Called when model is assigned.
Protected methodSaveAttributes
Saves the attributes to XML writer.
Protected methodSaveNodes
Saves the nodes to XML writer.
Public methodSaveToXmlWriter
Saves EntityAttr to XML writer.
Public methodSetDefaultOperator
Sets the default operator.
Public methodStatic memberStrToEntAttrKind
Converts string representation of attribute kind to EntAttrKind value.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Protected field_defaultOperator
The default operator
Protected fieldexpr
Attribute expression
Protected fieldkind
Attribute kind.
Public fieldParams
The parameters associated with this entity attribute
Back to Top
Properties

  NameDescription
Public propertyCaption
Gets or sets the entityAttr attribute caption.
Public propertyCustomFunc
Gets or sets the custom function.
Public propertyDataType
Gets or sets the type of data represented by attribute.
Public propertyDefaultEditor
Gets or sets the default value editor.
Public propertyDescription
Gets or sets the description of entity attribute.
Public propertyEditors
Gets the editors map.
Public propertyEntity
Gets or sets the entity.
Public propertyExpr
Gets or sets the attribute expression.
Public propertyFullExpr
Gets the full expression of entity attribute.
Public propertyID
Gets or sets the ID.
Public propertyIsGhost
Gets a value indicating whether this is a "ghost attribute" - an attribute which was not found in the model.
Public propertyKind
Gets or sets the attribute kind.
Public propertyLookupAttr
Gets the lookup attribute.
Public propertyModel
Gets the model.
Public propertyObjInfo
Holds different object-related information associated with this entity attribute
Public propertyOperations
Gets the list of operators which can be applied for this attribute.
Public propertySize
Gets or sets the size of data represented by attribute.
Public propertyUseInConditions
Gets or sets a value indicating whether the attribute can be used in query conditions.
Public propertyUseInResult
Gets or sets a value indicating whether the attribute can be used in result columns (SELECT clause).
Public propertyUseInSorting
Gets or sets a value indicating whether the attribute can be used in sorting.
Public propertyUserData
Gets or sets the user data object assosiated with attribute.
Back to Top
See Also