Here is my database design.
Contact
ContactID
ContactName
EmailAddress
EmailID
ContactID
EmailText
In the create View, I have ContactName Field and a button Add Email Address.
When I Click on the Add Email Address, there is a popup who perform an ajax request to get the Address Fields.
My problem is that I need to create the Contact before creating address because I need a ContactID first. Anybody know how to proceed ?.
I use asp.net MVC 2 and Entity Framework 4