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. 2. The system of claim 1 , further comprising at least one of the following: the entity is a real-world object with independent existence and is an instance of the entity type; or the relationship is an instance of the relationship type and expresses a linkage between instances of two or more entity types.