FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoUniqueConstraint Class Reference

#include <UniqueConstraint.h>

Inherits FdoIDisposable.

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 FdoDataPropertyDefinitionCollectionGetProperties ()
 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

FDO_API FdoUniqueConstraintCreate ()
 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 ()

Constructor & Destructor Documentation

FdoUniqueConstraint::FdoUniqueConstraint  )  [protected]
 

Constructs a default instance of a FdoUniqueConstraint.

virtual FdoUniqueConstraint::~FdoUniqueConstraint  )  [protected, virtual]
 


Member Function Documentation

FDO_API FdoUniqueConstraint* FdoUniqueConstraint::Create  )  [static]
 

Constructs an empty instance of an FdoUniqueConstraint.

Returns:
Returns an FdoUniqueConstraint.

virtual void FdoUniqueConstraint::Dispose  )  [inline, protected, virtual]
 

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

Definition at line 44 of file UniqueConstraint.h.

FDO_API FdoDataPropertyDefinitionCollection* FdoUniqueConstraint::GetProperties  ) 
 

Returns the list of properties that define the unique constraint. The caller can modify the list by adding or removing properties.

Returns:
Returns the collection that holds the properties that defines the constraint.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.