Page 1 of 1

One to One Relationships

PostPosted: Mon Dec 03, 2012 5:36 pm
by speedyleon
Hi Guys,

I'm currently working on a project and require some aid working through One to One relationships.
Basically what I want to achieve is have a 1-1 relationship between two entities, so that, if they conflict, it can cause an error.

An example:

1 equipment belongs to 1 warehouse
1 inventory belongs to 1 warehouse

if the warehouse is the same, an error occurs..
Thank you in advance for any and all assistance.