Delta<TEntityType> Class

 

A class the tracks changes (i.e. the delta) for a particular TEntityType.

Namespace:   System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

System.Object
  System.Dynamic.DynamicObject
    System.Web.Http.OData.Delta
      System.Web.Http.OData.TypedDelta
        System.Web.Http.OData.Delta<TEntityType>

public class Delta<TEntityType> : TypedDelta, IDelta
where TEntityType : class

Type Parameters

TEntityType

TEntityType is the base type of entity this delta tracks changes for.

NameDescription
System_CAPS_pubmethodDelta<TEntityType>()

Initializes a new instance of Delta<TEntityType>.

System_CAPS_pubmethodDelta<TEntityType>(Type)

Initializes a new instance of Delta<TEntityType>.

System_CAPS_pubmethodDelta<TEntityType>(Type, IEnumerable<String>)

Initializes a new instance of Delta<TEntityType>.

NameDescription
System_CAPS_pubpropertyEntityType

Gets the actual type of the entity for which the changes are tracked.(Overrides TypedDelta.EntityType.)

System_CAPS_pubpropertyExpectedClrType

NameDescription
System_CAPS_pubmethodClear()

Clears the Delta and resets the underlying Entity.(Overrides Delta.Clear().)

System_CAPS_pubmethodCopyChangedValues(TEntityType)

Copies the changed property values from the underlying entity (accessible via GetEntity to the original entity.

System_CAPS_pubmethodCopyUnchangedValues(TEntityType)

Copies the unchanged property values from the underlying entity (accessible via GetEntity ) to the original entity.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetChangedPropertyNames()

Returns the Properties that have been modified through this Delta as an enumeration of property names.(Overrides Delta.GetChangedPropertyNames().)

System_CAPS_pubmethodGetDynamicMemberNames()
System_CAPS_pubmethodGetEntity()

Returns the EntityType instance that holds all the changes (and original values) being tracked by this Delta.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetaObject(Expression)

(Inherited from DynamicObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUnchangedPropertyNames()

Returns the properties that have not been modified through this Delta as an enumeration of property names.(Overrides Delta.GetUnchangedPropertyNames().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPatch(TEntityType)

Overwrites the original entity with the changes tracked by this Delta.

System_CAPS_pubmethodPut(TEntityType)

Overwrites the original entity with the values stored in this Delta.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryBinaryOperation(BinaryOperationBinder, Object, Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryConvert(ConvertBinder, Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryCreateInstance(CreateInstanceBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteIndex(DeleteIndexBinder, Object[])

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteMember(DeleteMemberBinder)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryGetIndex(GetIndexBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryGetMember(GetMemberBinder, Object)

Overrides the DynamicObject TryGetMember method, so that only the properties of Entity can be got.(Inherited from Delta.)

System_CAPS_pubmethodTryGetPropertyType(String, Type)

Attempts to get the Type of the property called name from the underlying entity.(Overrides Delta.TryGetPropertyType(String, Type).)

System_CAPS_pubmethodTryGetPropertyValue(String, Object)

Attempts to get the value of the property called name from the underlying entity.(Overrides Delta.TryGetPropertyValue(String, Object).)

System_CAPS_pubmethodTryInvoke(InvokeBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryInvokeMember(InvokeMemberBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTrySetIndex(SetIndexBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTrySetMember(SetMemberBinder, Object)

Overrides the DynamicObject TrySetMember method, so that only the properties of Entity can be set.(Inherited from Delta.)

System_CAPS_pubmethodTrySetPropertyValue(String, Object)

Attempts to set the property called name to the value specified.(Overrides Delta.TrySetPropertyValue(String, Object).)

System_CAPS_pubmethodTryUnaryOperation(UnaryOperationBinder, Object)

(Inherited from DynamicObject.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: