Is there support in Linq to SQL for submitting changes to a single object? The SubmitChanges method sends all of the changes to the database, but what if I'm associating with an errorlog table and only want to save the records going into the errorlog without submitting all of the changes to my other tables?
Example:
Object Action (ID, Name, Type, Desc, Result)
Object ActionError (ActionID, ErrNum, ErrMsg)
There's an association between Action and ActionErrors by ID. When processing the Actions, something happens that I want to log an error for. I can add a new ActionError object to the collection of ActionErrors, but how I can send just those to the database without sending any changes to Action? Is using separate data contexts the only want to accomplish this in Linq to SQL?