Delta<TEntityType> Class

 

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

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


generic<typename TEntityType>
where TEntityType : ref class
public ref class Delta : TypedDelta, IDelta

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>.

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

Initializes a new instance of Delta<TEntityType>.

NameDescription
System_CAPS_pubmethodClear()

(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 known properties that have been modified through this Delta as an IEnumerable<T> of property Names. Does not include the names of the changed dynamic properties. (Overrides Delta::GetChangedPropertyNames().)

System_CAPS_pubmethodGetDynamicMemberNames()

(Inherited from DynamicObject.)

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 known properties that have not been modified through this Delta as an IEnumerable<T> of property Names. Does not include the names of the changed dynamic properties. (Overrides Delta::GetUnchangedPropertyNames().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPatch(TEntityType)

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

The semantics of this operation are equivalent to a HTTP PATCH operation, hence the name.

System_CAPS_pubmethodPut(TEntityType)

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

The semantics of this operation are equivalent to a HTTP PUT operation, hence the name.

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^, array<Object^>^, Object^)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteIndex(DeleteIndexBinder^, array<Object^>^)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteMember(DeleteMemberBinder^)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryGetIndex(GetIndexBinder^, array<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^)
System_CAPS_pubmethodTryGetPropertyValue(String^, Object^)
System_CAPS_pubmethodTryInvoke(InvokeBinder^, array<Object^>^, Object^)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTryInvokeMember(InvokeMemberBinder^, array<Object^>^, Object^)

(Inherited from DynamicObject.)

System_CAPS_pubmethodTrySetIndex(SetIndexBinder^, array<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^)
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: