DeltaDeletedResource<T> Class

Definition

DeltaDeletedResource<T> allows and tracks changes to a delta deleted resource.

public class DeltaDeletedResource<T> : Microsoft.AspNetCore.OData.Deltas.Delta<T>, Microsoft.AspNetCore.OData.Deltas.IDeltaDeletedResource where T : class
type DeltaDeletedResource<'T (requires 'T : null)> = class
    inherit Delta<'T (requires 'T : null)>
    interface IDeltaDeletedResource
    interface IDelta
    interface IDeltaSetItem
Public Class DeltaDeletedResource(Of T)
Inherits Delta(Of T)
Implements IDeltaDeletedResource

Type Parameters

T
Inheritance
DeltaDeletedResource<T>
Implements

Constructors

DeltaDeletedResource<T>()

Initializes a new instance of DeltaDeletedResource<T>.

DeltaDeletedResource<T>(Type)

Initializes a new instance of DeltaDeletedResource<T>.

DeltaDeletedResource<T>(Type, IEnumerable<String>)

Initializes a new instance of DeltaDeletedResource<T>.

DeltaDeletedResource<T>(Type, IEnumerable<String>, PropertyInfo)

Initializes a new instance of DeltaDeletedResource<T>.

Properties

ExpectedClrType

Gets the expected type of the entity for which the changes are tracked.

(Inherited from Delta<T>)
Id System.Dynamic.DynamicObject.Id
Kind

Gets the delta item kind.

Reason System.Dynamic.DynamicObject.Reason
StructuredType

Gets the actual type of the structural object for which the changes are tracked.

(Inherited from Delta<T>)

Methods

Clear()

Clears the IDelta.

(Inherited from Delta<T>)
CopyChangedValues(T)

Copies the changed property values from the underlying entity (accessible via GetInstance()) to the original entity recursively.

(Inherited from Delta<T>)
CopyUnchangedValues(T)

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

(Inherited from Delta<T>)
GetChangedPropertyNames()

Returns the known properties that have been modified through this Delta as an IEnumerable<T> of property Names. Includes the structural properties at current level. Does not include the names of the changed dynamic properties.

(Inherited from Delta<T>)
GetInstance()

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

(Inherited from Delta<T>)
GetUnchangedPropertyNames()

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.

(Inherited from Delta<T>)
Patch(T)

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.

(Inherited from Delta<T>)
Put(T)

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.

(Inherited from Delta<T>)
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.

(Inherited from Delta<T>)
TryGetPropertyValue(String, Object)

Attempts to get the value of the Property called name from the underlying Entity.

(Inherited from Delta<T>)
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.

(Inherited from Delta<T>)

Applies to