Share via


ODataServiceDocument Class

 

Represents the OData 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.ODataServiceDocument

Syntax

public sealed class ODataServiceDocument : ODataAnnotatable
public ref class ODataServiceDocument sealed : ODataAnnotatable
[<Sealed>]
type ODataServiceDocument = 
    class
        inherit ODataAnnotatable
    end
Public NotInheritable Class ODataServiceDocument
    Inherits ODataAnnotatable

Constructors

Name Description
System_CAPS_pubmethod ODataServiceDocument()

Initializes a new instance of the ODataServiceDocument class.

Properties

Name Description
System_CAPS_pubproperty EntitySets

Gets or sets the set of entity sets in the service document.

System_CAPS_pubproperty FunctionImports

Gets or sets the set of function imports in the service document.

System_CAPS_pubproperty Singletons

Gets or sets the set of singletons in the service document.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(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_pubmethod SetAnnotation<T>(T)

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod Atom()

Overloaded. Determines an extension method to get the T:System.Data.OData.Atom.AtomWorkspaceMetadata for an annotatable serviceDocument.(Defined by ExtensionMethods.)

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