Delta<TEntityType> Class
A class the tracks changes (i.e. the delta) for a particular TEntityType.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
System.Dynamic.DynamicObject
System.Web.Http.OData.Delta
System.Web.Http.OData.TypedDelta
System.Web.Http.OData.Delta<TEntityType>
| Name | Description | |
|---|---|---|
![]() | Delta<TEntityType>() | Initializes a new instance of Delta<TEntityType>. |
![]() | Delta<TEntityType>(Type) | Initializes a new instance of Delta<TEntityType>. |
![]() | Delta<TEntityType>(Type, IEnumerable<String>) | Initializes a new instance of Delta<TEntityType>. |
| Name | Description | |
|---|---|---|
![]() | EntityType | Gets the actual type of the entity for which the changes are tracked.(Overrides TypedDelta.EntityType.) |
![]() | ExpectedClrType | (Overrides TypedDelta.ExpectedClrType.) |
| Name | Description | |
|---|---|---|
![]() | Clear() | Clears the Delta and resets the underlying Entity.(Overrides Delta.Clear().) |
![]() | CopyChangedValues(TEntityType) | Copies the changed property values from the underlying entity (accessible via GetEntity to the original entity. |
![]() | CopyUnchangedValues(TEntityType) | Copies the unchanged property values from the underlying entity (accessible via GetEntity ) to the original entity. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetChangedPropertyNames() | Returns the Properties that have been modified through this Delta as an enumeration of property names.(Overrides Delta.GetChangedPropertyNames().) |
![]() | GetDynamicMemberNames() | (Overrides DynamicObject.GetDynamicMemberNames().) |
![]() | GetEntity() | Returns the EntityType instance that holds all the changes (and original values) being tracked by this Delta. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetMetaObject(Expression) | (Inherited from DynamicObject.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetUnchangedPropertyNames() | Returns the properties that have not been modified through this Delta as an enumeration of property names.(Overrides Delta.GetUnchangedPropertyNames().) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Patch(TEntityType) | Overwrites the original entity with the changes tracked by this Delta. |
![]() | Put(TEntityType) | Overwrites the original entity with the values stored in this Delta. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryBinaryOperation(BinaryOperationBinder, Object, Object) | (Inherited from DynamicObject.) |
![]() | TryConvert(ConvertBinder, Object) | (Inherited from DynamicObject.) |
![]() | TryCreateInstance(CreateInstanceBinder, Object[], Object) | (Inherited from DynamicObject.) |
![]() | TryDeleteIndex(DeleteIndexBinder, Object[]) | (Inherited from DynamicObject.) |
![]() | TryDeleteMember(DeleteMemberBinder) | (Inherited from DynamicObject.) |
![]() | TryGetIndex(GetIndexBinder, Object[], Object) | (Inherited from DynamicObject.) |
![]() | TryGetMember(GetMemberBinder, Object) | Overrides the DynamicObject TryGetMember method, so that only the properties of Entity can be got.(Inherited from Delta.) |
![]() | TryGetPropertyType(String, Type) | Attempts to get the Type of the property called name from the underlying entity.(Overrides Delta.TryGetPropertyType(String, Type).) |
![]() | TryGetPropertyValue(String, Object) | Attempts to get the value of the property called name from the underlying entity.(Overrides Delta.TryGetPropertyValue(String, Object).) |
![]() | TryInvoke(InvokeBinder, Object[], Object) | (Inherited from DynamicObject.) |
![]() | TryInvokeMember(InvokeMemberBinder, Object[], Object) | (Inherited from DynamicObject.) |
![]() | TrySetIndex(SetIndexBinder, Object[], Object) | (Inherited from DynamicObject.) |
![]() | TrySetMember(SetMemberBinder, Object) | Overrides the DynamicObject TrySetMember method, so that only the properties of Entity can be set.(Inherited from Delta.) |
![]() | TrySetPropertyValue(String, Object) | Attempts to set the property called name to the value specified.(Overrides Delta.TrySetPropertyValue(String, Object).) |
![]() | TryUnaryOperation(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.


