Class EntityDelta
- Namespace
- IntentSharp.ChangeDetection
- Assembly
- IntentSharp.dll
How a target's description differs from the one the client recorded before: the entities added, removed and
changed, and, within each changed entity, the fields added, removed and changed. An entity is named as rule files
name it (its path joined with dots, such as dbo.orders) and a field as <entity>.<field>.
public sealed class EntityDelta
- Inheritance
-
objectEntityDelta
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Remarks
The fields of an added or removed entity are not listed; the entity is. A field counts as changed when its type, whether it may be null, whether it is part of the key, its nested fields or a property listed in FingerprintProperties changed. An entity counts as changed when any of its fields, its kind, its operations or such a property changed, so a changed entity may list no field.
Constructors
- EntityDelta()
Creates an empty delta.
Properties
- AddedEntities
The entities the new description has and the recorded one did not.
- AddedFields
The fields of changed entities that the new description has and the recorded one did not, as
<entity>.<field>.
- ChangedEntities
The entities both descriptions have, described differently.
- ChangedFields
The fields of changed entities that both descriptions have, described differently, as
<entity>.<field>.
- RemovedEntities
The entities the recorded description had and the new one does not.
- RemovedFields
The fields of changed entities that the recorded description had and the new one does not, as
<entity>.<field>.