Share via


ODataServiceDocumentElement Class

 

Represents an element (EntitySet, Singleton) in a service document.

Namespace:   Microsoft.OData.Core
Assembly:  Microsoft.OData.Core (in Microsoft.OData.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataAnnotatable
    Microsoft.OData.Core.ODataServiceDocumentElement
      Microsoft.OData.Core.ODataEntitySetInfo
      Microsoft.OData.Core.ODataFunctionImportInfo
      Microsoft.OData.Core.ODataSingletonInfo

Syntax

public abstract class ODataServiceDocumentElement : ODataAnnotatable
public ref class ODataServiceDocumentElement abstract : ODataAnnotatable
[<AbstractClass>]
type ODataServiceDocumentElement = 
    class
        inherit ODataAnnotatable
    end
Public MustInherit Class ODataServiceDocumentElement
    Inherits ODataAnnotatable

Constructors

Name Description
System_CAPS_protmethod ODataServiceDocumentElement()

Initializes a new instance of the ODataServiceDocumentElement class.

Properties

Name Description
System_CAPS_pubproperty Name

Gets or sets the name of the element; this is the entity set or singleton name in JSON and the HREF in Atom.

System_CAPS_pubproperty Title

Gets or sets the title of the element; this is the title in JSON.

System_CAPS_pubproperty Url

Gets or sets the URI representing the Unified Resource Locator (URL) to the element.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAnnotation<T>()

Gets or sets the annotation by type.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetAnnotation<T>(T)

Sets an annotation of type T.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.OData.Core Namespace

Return to top