I have a single linq to sql class. I would like to detect if it is new (meaning an insert will be done) or if there are any pending changes (update will be done). I realize that I can do this by using a partial
class and hooking into the on change events for each property. However that is a lot of maintenance for a class that is constantly changing.
Is there a better way?