Click or drag to resize

ObjectChangeTrackingExtensions Class

Represents a set of object change-tracking related operations that work as façades to simplify the work with change tracking.
Inheritance Hierarchy
SystemObject
  TrackerDogObjectChangeTrackingExtensions

Namespace:  TrackerDog
Assembly:  TrackerDog (in TrackerDog.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
public static class ObjectChangeTrackingExtensions

The ObjectChangeTrackingExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAcceptChanges
Accepts all changes made to the change-tracked object and its associations.
Public methodStatic memberCurrentPropertyValue(Object, String)
Gets the last value of given selected property.
Public methodStatic memberCode exampleCurrentPropertyValueT, TReturn(T, ExpressionFuncT, TReturn)
Gets the last value of given selected property.
Public methodStatic memberGetActualTypeIfTrackable(Object)
Gets if non-proxied object type is already change-trackable
Public methodStatic memberGetActualTypeIfTrackable(Type)
Gets if non-proxied type is already change-trackable
Public methodStatic memberGetChangeTracker
Gets current tracked object change tracker.
Public methodStatic memberGetPropertyTracking(Object, PropertyInfo)
Gets a property change tracking for a given property
Public methodStatic memberGetPropertyTracking(Object, String)
Gets a property change tracking for a given property
Public methodStatic memberGetPropertyTrackingTObject, TReturn(TObject, ExpressionFuncTObject, TReturn)
Gets a property change tracking for a given property
Public methodStatic memberIsTrackable(Object)
Determines if a given object is a change-trackable object already
Public methodStatic memberIsTrackable(Type)
Determines if a given type is already change-trackable
Public methodStatic memberOldPropertyValue(Object, String)
Gets the value of given selected property that had when the change-tracked object started to track its changes.
Public methodStatic memberCode exampleOldPropertyValueT, TReturn(T, ExpressionFuncT, TReturn)
Gets the value of given selected property that had when the change-tracked object started to track its changes.
Public methodStatic memberPropertyHasChanged(Object, String)
Determines if a given property by name has changed since its tracking was started.
Public methodStatic memberPropertyHasChangedT(T, ExpressionFuncT, Object)
Determines if a given property by selector has changed since its tracking was started.
Public methodStatic memberToUntrackedTObject
Turns given object and all associates to untrackable objects (i.e. POCO objects).
Public methodStatic memberToUntrackedEnumerable
Iterates the given enumerable and returns an instance of given target collection type configured implementation where each item will be also converted to untracked objects.
Public methodStatic memberUndoChanges
Undoes all changes made to the change-tracked object and its associations.
Top
See Also