If I have a new object, that is not context.Saved() in ADO.NET, how can I tell that apart from another object that hasn't been saved?
I'm going to use this information to determine how to handle my custom autoincrement feature. If the object has been saved to the database, I'll make a roundtrip to the database server. If the object has not been saved, then I'll perform my auto increment locally.
So, given 2 ADO.NET objects, how can I tell if they have been saved, or not?