# FdoUniqueConstraint Class Reference

`#include <UniqueConstraint.h>`

Inheritance diagram for FdoUniqueConstraint:

[legend]

List of all members.

## Detailed Description

FdoUniqueConstraint can be used to specify that a property or list of properties taken together have unique values for all objects of that class in a datastore. A unique constraint that is based on a list of two or more properties is called a composite unique constraint. This constraint type applies to all data property types except for Boolean, BLOB, and CLOB. A Boolean property can be included if it is part of a composite unique constraint.

Definition at line 35 of file UniqueConstraint.h.

## Public Member Functions
FDO_API FdoDataPropertyDefinitionCollection * | GetProperties ()
| Returns the list of properties that define the unique constraint. The caller can modify the list by adding or removing properties.
## Static Public Member Functions
static FDO_API FdoUniqueConstraint * | Create ()
| Constructs an empty instance of an FdoUniqueConstraint.
## Protected Member Functions
virtual void | Dispose ()
| Dispose this object.
| FdoUniqueConstraint ()
| Constructs a default instance of a FdoUniqueConstraint.
virtual | ~FdoUniqueConstraint ()

The documentation for this class was generated from the following file:

- UniqueConstraint.h