Share via


EdmDeltaDeletedResourceObject Class

Definition

Represents an IEdmDeltaDeletedResourceObject with no backing CLR Type. Used to hold the Deleted Resource object in the Delta Feed Payload.

[Microsoft.AspNetCore.OData.Abstracts.NonValidatingParameterBinding]
public class EdmDeltaDeletedResourceObject : Microsoft.AspNetCore.OData.Formatter.Value.EdmEntityObject, Microsoft.AspNetCore.OData.Formatter.Value.IEdmDeltaDeletedResourceObject
[<Microsoft.AspNetCore.OData.Abstracts.NonValidatingParameterBinding>]
type EdmDeltaDeletedResourceObject = class
    inherit EdmEntityObject
    interface IEdmDeltaDeletedResourceObject
    interface IEdmChangedObject
    interface IEdmObject
Public Class EdmDeltaDeletedResourceObject
Inherits EdmEntityObject
Implements IEdmDeltaDeletedResourceObject
Inheritance
EdmDeltaDeletedResourceObject
Attributes
Implements

Constructors

EdmDeltaDeletedResourceObject(IEdmEntityType)

Initializes a new instance of the EdmDeltaDeletedResourceObject class.

EdmDeltaDeletedResourceObject(IEdmEntityType, Boolean)

Initializes a new instance of the EdmDeltaDeletedResourceObject class.

EdmDeltaDeletedResourceObject(IEdmEntityTypeReference)

Initializes a new instance of the EdmDeltaDeletedResourceObject class.

Properties

ActualEdmType

Gets or sets the actual IEdmStructuredType of the entity or complex type of this object.

(Inherited from EdmStructuredObject)
ExpectedEdmType

Gets or sets the expected IEdmStructuredType of the entity or complex type of this object.

(Inherited from EdmStructuredObject)
Id

The id of the deleted entity (same as the odata.id returned or computed when calling GET on resource), which may be absolute or relative.

IsNullable

Gets or sets whether the EDM object is nullable or not.

(Inherited from EdmStructuredObject)
Kind

DeltaKind for the objects part of the DeltaResourceSet Payload. Used to determine which Delta object to create during serialization.

NavigationSource

The navigation source of the deleted entity. If null, then the deleted entity is from the current feed.

Reason

Optional. Either deleted, if the entity was deleted (destroyed), or changed if the entity was removed from membership in the result (i.e., due to a data change).

Methods

Clear()

Clears the Delta and resets the underlying Entity.

(Inherited from EdmStructuredObject)
GetChangedPropertyNames()

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

(Inherited from EdmStructuredObject)
GetEdmType()

Gets the IEdmTypeReference of this instance.

(Inherited from EdmStructuredObject)
GetUnchangedPropertyNames()

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

(Inherited from EdmStructuredObject)
TryGetDynamicProperties()

Get all dynamic properties

(Inherited from EdmStructuredObject)
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. Only properties that exist on Entity can be retrieved. Both modified and unmodified properties can be retrieved.

(Inherited from EdmStructuredObject)
TryGetPropertyValue(String, Object)

Gets the value of the property with the given name.

(Inherited from EdmStructuredObject)
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. Only properties that exist on Entity can be set. If there is a type mismatch the request will fail.

(Inherited from EdmStructuredObject)

Extension Methods

IsDeltaResource(IEdmObject)

Method to determine whether the current Edm object is a Delta resource

Applies to