New Posts New Posts RSS Feed: 1:1 showing as 1:M
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

1:1 showing as 1:M

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: 1:1 showing as 1:M
    Posted: 16-Apr-2009 at 1:51pm
I have a table with Key OrganizationId and another table with Key FacilityId.
 
The relation is OrganizationId = FacilityId. They are 1:1 why are they showing as 1:M in the Mapping tool?
Back to Top
eileenv View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 15-Jun-2007
Location: United States
Posts: 68
Post Options Post Options   Quote eileenv Quote  Post ReplyReply Direct Link To This Post Posted: 16-Apr-2009 at 6:07pm

OneToMany is the Object Mapper default. You can manually change the cardinality to OneToOne.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down