One to One Association Help
Posted: Fri 22 Nov 2013 02:23
Hi,
I hate to ask a noob question but I'm just drawing a blank! To keep it brief, I have 2 entities,
1. Consumer:
ConsumerId
ConsumerName
2. Post:
PostId
PostDate
Every Consumer can have 0..1 Post. I tried adding PostId in Consumer & ConsumerId in Post respectively and add a 1 to 0..1 between Consumer(1) & Post (0..1). I'm getting all types of errors. What would be the best way to create this relationship?
Entity Developer 5.7, EF 6, VS 2013.
Any help is much appreciated.
Regards,
Anthony
I hate to ask a noob question but I'm just drawing a blank! To keep it brief, I have 2 entities,
1. Consumer:
ConsumerId
ConsumerName
2. Post:
PostId
PostDate
Every Consumer can have 0..1 Post. I tried adding PostId in Consumer & ConsumerId in Post respectively and add a 1 to 0..1 between Consumer(1) & Post (0..1). I'm getting all types of errors. What would be the best way to create this relationship?
Entity Developer 5.7, EF 6, VS 2013.
Any help is much appreciated.
Regards,
Anthony