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 | |
---|---|---|
ODataServiceDocument() | Initializes a new instance of the ODataServiceDocument class. |
Properties
Name | Description | |
---|---|---|
EntitySets | Gets or sets the set of entity sets in the service document. |
|
FunctionImports | Gets or sets the set of function imports in the service document. |
|
Singletons | Gets or sets the set of singletons in the service document. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetAnnotation<T>() | Gets or sets the annotation by type.(Inherited from ODataAnnotatable.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetAnnotation<T>(T) | Sets an annotation of type T.(Inherited from ODataAnnotatable.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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