however I debugged using breakpoint, it runs through the loop once but on the second attempt it stops at db.Holidays.Addobject(holiday);
and I receive the error: An object with the same key already exists in the ObjecttateManager. the existing objects is in the unchanged state. An ibject can only be added to the objectStateManager again if it is i the added state.
if anyone can help that would be great
Last Visit: 31-Dec-99 19:00 Last Update: 17-Apr-15 16:01