I am running the code to get the change set just before a linq submit changes call.
private void OnSubmitHandleReplication()
{
System.Data.Linq.ChangeSet changes = GetChangeSet();
//Do something with change set
}
In the do something section I need to know what order things were submitted in, and what order they will post to the database in. I see the change set has a .Inserted, .Updated, and .Deleted. I assume that these are in the order they will be applied in. However I want to know the over all order. I assume it could be Insert, Update, then 3 more inserts, or something that involves bounce back and forth between these collections.
Update 1
Sorry, thought the title was clear, Linq to SQL
Update 2
The reason I am doing this is to replay these later to another DB.