SelectExpandQueryOption Class
Represents the OData $select and $expand query options.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Query.SelectExpandQueryOption
Syntax
public class SelectExpandQueryOption
public ref class SelectExpandQueryOption
type SelectExpandQueryOption = class end
Public Class SelectExpandQueryOption
Constructors
Name | Description | |
---|---|---|
SelectExpandQueryOption(String, String, ODataQueryContext) | Initializes a new instance of the SelectExpandQueryOption class. |
Properties
Name | Description | |
---|---|---|
Context | Gets the given ODataQueryContext. |
|
RawExpand | Gets the raw $expand value. |
|
RawSelect | Gets the raw $select value. |
|
SelectExpandClause | Gets the parsed SelectExpandClause for this query option. |
|
Validator | Gets or sets the $select and $expand query validator. |
Methods
Name | Description | |
---|---|---|
ApplyTo(IQueryable, ODataQuerySettings) | Applies the $select and $expand query options to the given IQueryable using the given ODataQuerySettings. |
|
ApplyTo(Object, ODataQuerySettings) | Applies the $select and $expand query options to the given entity using the given ODataQuerySettings. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
Validate(ODataValidationSettings) | Validate the $select and $expand query based on the given validationSettings. It throws an ODataException if validation failed. |
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
System.Web.Http.OData.Query Namespace
Return to top