Share via


SelectExpandQueryOption Class

Represents the OData select and expand query options.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Query.SelectExpandQueryOption

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Class SelectExpandQueryOption
'Usage
Dim instance As SelectExpandQueryOption
public class SelectExpandQueryOption
public ref class SelectExpandQueryOption
type SelectExpandQueryOption =  class end
public class SelectExpandQueryOption

The SelectExpandQueryOption type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Context Gets the given ODataQueryContext.
Public property RawExpand Gets the raw expand value.
Public property RawSelect Gets the raw select value.
Public property SelectExpandClause Gets the parsed SelectExpandClause for this query option.
Public property Validator Gets or sets the select and expand query validator.

Top

Methods

  Name Description
Public method ApplyTo(IQueryable, ODataQuerySettings) Applies the select and expand query options to the given IQueryable using the given ODataQuerySettings.
Public method ApplyTo(Object, ODataQuerySettings) Applies the select and expand query options to the given entity using the given ODataQuerySettings.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Validate the select and expand query based on the given validationSettings. It throws an ODataException if validation failed.

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

System.Web.Http.OData.Query Namespace