pmMDA.NET

PmMda.Net.Dog.Updates Namespace

[This is preliminary documentation and subject to change.]

Updates framework

Introduction

The Updates framework is used to opitimize the transfer of data objects from the client to the server.

Instead of transferring the whole data object graph from the client to the server only the modifications on the data objects are transferred.

NamespaceDoc depends on this namespace. It is impossible to compare the modified and original graph of data objects to determine the deleted objects becuase the modified graph is not fully available. Therefore the data object contains a property Update that remembers its modifications. This updates are sent over the network instead of the partial graph.

Design diagram

PmMda.Net.Dog.Updates diagram

Namespace hierarchy

Classes

ClassDescription
DataObjectUpdate Represents all modifications made on a data object.
DogUpdate The dog update represents the root data object of a DOG which should be stored.
ItemAdditionUpdate Represents the addition of an item to an indexed property.
ItemInsertionUpdate Represents the insertion of an item into an indexed property of a data object.
ItemRemovalAtUpdate Represents the removal of an item at a specified index from an indexed property of a data object.
ItemRemovalUpdate Represents the removal of an item from an indexed property of a data object.
ItemReplacementUpdate Represents the replacement of an item of an indexed property with another item.
ItemUpdate Base class for all data object updates where the value represents a data object.
ListClearingUpdate Represents the clearing of an indexed property.
PrimitiveFieldUpdate Represents the update of a single property which is not of type IDataObject.
SingleFieldUpdate Represents the update of a single property of type IDataObject.

Interfaces

InterfaceDescription
IUpdate Interface for all updates made on data objects.