Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraint that ensures that a key field is unique in a collection #13

hisystems opened this issue Mar 4, 2012 · 0 comments


Copy link

A key field is typically a value that a user can enter and modify. For example, a product code from a products table. This constraint should ensure:

  • if the object is new, that the key value has not already been used in the table / table subset
  • if the value has changed, then the new value does not conflict with an existing value already in the table / table subset.
    This constraint should encapsulate this concept and eliminate the need to repeatedly resolve this problem for different tables and scenarios.
  • if the value has not changed then the constraint passes
@ghost ghost assigned hisystems Mar 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant