1. A system that facilitates handling a change associated with a database, comprising at least a processor executing the following components: an interface that receives data associated with a change to an object graph that is a cached view of the database; and a state transition logic component that maintains the change related to the object graph utilizing a context and a respective set of rules, wherein a rules component enforces the following set of rules to the object graph: 1) a detached object cannot be related to a non-detached object; and 2) a deleted object cannot be related to a non-deleted object, the context employs metadata to view the object graph with an abstraction of at least one of an entity or a relationship.
1. A system that facilitates handling a change associated with a database, comprising at least a processor executing the following components: an interface that receives data associated with a change to an object graph that is a cached view of the database; and a state transition logic component that maintains the change related to the object graph utilizing a context and a respective set of rules, wherein a rules component enforces the following set of rules to the object graph: 1) a detached object cannot be related to a non-detached object; and 2) a deleted object cannot be related to a non-deleted object, the context employs metadata to view the object graph with an abstraction of at least one of an entity or a relationship. 6. The system of claim 1 , the change is at least one of flushed to the database or discarded.