User defined constarints

  • Thread starter Thread starter Magne Ryholt
  • Start date Start date
M

Magne Ryholt

Two types of constraint classes are defined in System.Data namespace, namely
ForeignKeyConstraint and UniqueConstraint.
They are both based on the abstract class Constraint (also in System.Data).

It occurs to me that it should be possible (and convenient) to derive user
defined constraint classes based on Constraint, with similar functionality
as e.g. Jet (Access) Validation Rule.

However, I cannot find any documentation for how to do this.

Anyone has some doc etc. ?
 
Back
Top