Share via


Delta Class

Definition

A class the tracks changes (i.e. the Delta) for an entity.

public abstract class Delta : System.Dynamic.DynamicObject, Microsoft.AspNet.OData.IDelta
type Delta = class
    inherit DynamicObject
    interface IDelta
Public MustInherit Class Delta
Inherits DynamicObject
Implements IDelta
Inheritance
Derived
Implements

Constructors

Delta()

Methods

Clear()

Clears the Delta and resets the underlying Entity.

GetChangedPropertyNames()

Returns the Properties that have been modified through this Delta as an enumeration of Property Names

GetUnchangedPropertyNames()

Returns the Properties that have not been modified through this Delta as an enumeration of Property Names

TryGetMember(GetMemberBinder, Object)

Overrides the DynamicObject TryGetMember method, so that only the properties of Entity can be got.

TryGetPropertyType(String, Type)

Attempts to get the Type of the Property called name from the underlying Entity. Only properties that exist on Entity can be retrieved. Both modified and unmodified properties can be retrieved.

TryGetPropertyValue(String, Object)

Attempts to get the value of the Property called name from the underlying Entity. Only properties that exist on Entity can be retrieved. Both modified and unmodified properties can be retrieved.

TrySetMember(SetMemberBinder, Object)

Overrides the DynamicObject TrySetMember method, so that only the properties of Entity can be set.

TrySetPropertyValue(String, Object)

Attempts to set the Property called name to the value specified. Only properties that exist on Entity can be set. If there is a type mismatch the request will fail.

Applies to