FDO API Reference Feature Data Objects

PropertyValueConstraintRange.h File Reference

#include <FdoStd.h>
#include <Fdo/Schema/PropertyValueConstraint.h>
#include <Fdo/Expression/DataValue.h>

Include dependency graph for PropertyValueConstraintRange.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  FdoPropertyValueConstraintRange
 FdoPropertyValueConstraintRange is used to specify minimum and / or maximum allowed values for a particular property. It can be used for all data property types except for Boolean, BLOB, or CLOB. One or the other or both of MinValue and MaxValue must be specified. If both are specified, then MaxValue must be greater than or equal to MinValue and if either MinInclusive or MaxInclusive are false, then MaxValue must be greater than MinValue. MinValue and MaxValue if specified must be valid values for the property type. E.g. if the property is decimal(4,0), then the maximum possible MaxValue is 9999. If the data property definition includes a non-null default value, then this constraint is applied to that value as well. If the data property definition allows nulls, a null value is considered as being valid regardless of the range constraint. More...

Comments or suggestions? Send us feedback.