Udostępnij za pośrednictwem


ODataWorkspace Class

Represents the workspace of a data service.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataWorkspace

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

Syntax

'Declaration
Public NotInheritable Class ODataWorkspace _
    Inherits ODataAnnotatable
'Usage
Dim instance As ODataWorkspace
public sealed class ODataWorkspace : ODataAnnotatable
public ref class ODataWorkspace sealed : public ODataAnnotatable
[<SealedAttribute>]
type ODataWorkspace =  
    class 
        inherit ODataAnnotatable 
    end
public final class ODataWorkspace extends ODataAnnotatable

The ODataWorkspace type exposes the following members.

Constructors

  Name Description
Public method ODataWorkspace Initializes a new instance of the ODataWorkspace class.

Top

Properties

  Name Description
Public property Collections Gets or sets the set of collections in the workspace.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Atom Determines an extension method to get the AtomWorkspaceMetadata for an annotatable workspace. (Defined by ExtensionMethods.)

Top

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

Reference

Microsoft.Data.OData Namespace