AttributeBaseWebNegate Property |
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.
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)
Syntaxpublic bool Negate { get; set; }
Property Value
Type:
Boolean
ExamplesA rental object search where only rental objects that are 1000m or closer to the sea should be returned:
The Attribute "Distance to sea" is used. The value is set to 1000. The ComparerType is set to LessThanOrEqual.
If Negate equals true then all rental objects that are further away than 1000 meters are returned.
See Also