I\'m tryring to do a simple insert with foreign key, but it seems that I need to use db.SaveChanges() for every record insert. How can I manage to use only one
it might be related with the implementation of AddToSalesFeedSet etc.. there is chance that you are doing commit inside ?
any way, my point is that i encountered very close problem, was tring to add relation to new entity with existed entity that been queried earlier - that has unsigned key and got the same exception;
the solution was to call Db.collection.Attach(previouslyQueriedEntityInstance);