Click or drag to resize

AttributeBaseWeb Class

Attribute base class for attribute search criteria and attribute values.
Inheritance Hierarchy

Namespace:  Tse.EasyBook.Server.DataContracts
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class AttributeBaseWeb : DataContractEntityWeb

The AttributeBaseWeb type exposes the following members.

Constructors
  NameDescription
Public methodAttributeBaseWeb
Top
Properties
  NameDescription
Public propertyCode exampleComparerType
When an attribute is used as a search criteria in a rental objects search, this property determines how the attribute, by default, is interpreted.
Public propertyId
Unique Id for the entity. This Id is unchanged throughout the entity's lifetime.
(Inherited from DataContractEntityWeb.)
Public propertyName
The name of the attribute
Public propertyCode exampleNegate
When an attribute is used as a search criteria in a rental objects search, this property determines if the resulting evaluation of Value and ComparerType should be negated.
Public propertyOrGroup
A list of other attribute criteria that should form an OR group when passed into the search engine. If the parent attribute is of type Attribute, then the parent attribute criteria value will be added to the OR group. If the parent attribute is of type OrGroup, then only the members of this OrGroup collection will form the Or group.
Public propertyValue
The value of the attribute.
Public propertyValueType
The value type. This property determines how the attribute value should be interpreted. There are 3 values: Integer, Float, Boolean. For attributes with an integer or float value type it means that they should interpreted as numbers. For attributes with a boolean value type it means they should be interpreted as a yes/no attribute. If a rental object does not have a boolean attribute it is the same as having the attribute with a "no" (or 0) value.
Top
Remarks
Attributes holds information about a rental object such as build year, capacity, size, distance to sea etc. Attributes can be used as query input to the rental object search engine.
See Also