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. ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top