This question is locked. New answers and comments are not allowed.
Hi,
by calling SaveChanges, I would like to log the according objects.
ContextChanges contextChanges = dataContext.GetChanges();
by calling SaveChanges, I would like to log the according objects.
ContextChanges contextChanges = dataContext.GetChanges();
IList<Foo> inserts = contextChanges.GetInserts<Foo>();
gives me only the information for known objects.
How can I enumerate all objects, independent from the class.
I need something like that:
List<object> inserts = contextChanges.GetInserts();