Jaa


EdmStructuredObject Class

Definition

Represents an IEdmStructuredObject with no backing CLR Type.

public abstract class EdmStructuredObject : Microsoft.AspNet.OData.Delta, Microsoft.AspNet.OData.IEdmStructuredObject
type EdmStructuredObject = class
    inherit Delta
    interface IEdmStructuredObject
    interface IEdmObject
Public MustInherit Class EdmStructuredObject
Inherits Delta
Implements IEdmStructuredObject
Inheritance
EdmStructuredObject
Derived
Implements

Constructors

EdmStructuredObject(IEdmStructuredType, Boolean)

Initializes a new instance of the EdmStructuredObject class.

EdmStructuredObject(IEdmStructuredType)

Initializes a new instance of the EdmStructuredObject class.

EdmStructuredObject(IEdmStructuredTypeReference)

Initializes a new instance of the EdmStructuredObject class.

Properties

ActualEdmType

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

ExpectedEdmType

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

IsNullable

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

Methods

Clear()

Clears the Delta and resets the underlying Entity.

GetChangedPropertyNames()

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

GetEdmType()

Gets the IEdmTypeReference of this instance.

GetUnchangedPropertyNames()

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

TryGetDynamicProperties()

Get all dynamic properties

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.

TryGetPropertyValue(String, Object)

Gets the value of the property with the given name.

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.

Extension Methods

IsDeltaResource(IEdmObject)

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

Applies to