DbEntityAttr MembersEasyQuery WinForms API Reference

The DbEntityAttr type exposes the following members.
Constructors

  NameDescription
Public methodDbEntityAttr
Initializes a new instance of the DbEntityAttr class
Back to Top
Methods

  NameDescription
Protected methodCheckModel
Checks the Model property and raises an exception if it's null.
(Inherited from EntityAttr.)
Public methodCompareSqlName
Returns true if SqlName passed in parameter equals to SqlName used for this property. Otherwise returns false.
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.
(Inherited from EntityAttr.)
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 a string that represents full expression of EntityAttr instance.
(Overrides EntityAttr GetDataAttrFullExpr .)
Public methodGetDefaultOperator
Gets the default operator (usually it is first operator in Operations list).
(Inherited from EntityAttr.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetSqlExpr
Gets the SQL expression which represents the attribute.
Public methodGetSqlName
Gets the full SQL name which represents the attribute.
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.
(Inherited from EntityAttr.)
Public methodHasParams
Determines whether this attribute has query parameters.
(Overrides EntityAttr HasParams .)
Protected methodLoadAttribute
Loads the attribute.
(Overrides EntityAttr LoadAttribute(String, String).)
Public methodLoadFromProperty
Fills the content of entity attribute by some property (specified by PropertyInfo object).
(Inherited from EntityAttr.)
Public methodLoadFromXmlReader
Loads attribute from XML reader.
(Inherited from EntityAttr.)
Protected methodLoadNodes
Loads the sub-nodes of entity attribute's node.
(Overrides EntityAttr LoadNodes(XmlReader).)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnModelAssignment
Called when attribute is inserted into model.
(Overrides EntityAttr OnModelAssignment .)
Protected methodSaveAttributes
Saves the attributes to XML writer.
(Overrides EntityAttr SaveAttributes(XmlWriter).)
Protected methodSaveNodes
Saves the nodes to XML writer.
(Inherited from EntityAttr.)
Public methodSaveToXmlWriter
Saves EntityAttr to XML writer.
(Inherited from EntityAttr.)
Public methodSetDefaultOperator
Sets the default operator.
(Inherited from EntityAttr.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

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

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