Constraints
------------------
Shows how to use C1DataObjects expression constraints.

This sample demonstrates field (tested on every field change) and record level
constraints (tested on ending record edit), both for a table (tested in
any situation where the table is modified) and for a table view
(tested only in a particular data set, when the table view is modified)

To see the constraints, open the Schema Designer on the schemaDef component
in DataClass.cs. Look at the following:

Table Orders: property ConstraintsRecordLevel.
Composite table CustomersOrders: property ConstraintsRecordLevel.
Fields Customers.CompanyName, Customers.Country: property Constraints.
Data set DataSet1, table view Products: property ConstraintsRecordLevel,
fields Products.ProductName/UnitPrice/ReorderLevel: property Constraints.



