Share via


TableHttpRequestMessageExtensions Class

Definition

Extension methods for the System.Net.Http.HttpRequestMessage class providing functionality related to table TableController<TData>.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static class TableHttpRequestMessageExtensions
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type TableHttpRequestMessageExtensions = class
Public Module TableHttpRequestMessageExtensions
Inheritance
System.Object
TableHttpRequestMessageExtensions
Attributes
System.ComponentModel.EditorBrowsableAttribute

Methods

AreDeletedRowsRequested(HttpRequestMessage)

Determines whether deleted rows were requested by the client.

GetVersionFromIfMatch(HttpRequestMessage)

Gets the version of a table item from the HTTP IfMatch header. If the IfMatch contains an invalid value then an System.Web.Http.HttpResponseException is thrown containing an System.Net.Http.HttpResponseMessage with status code System.Net.HttpStatusCode.BadRequest.

SetSelectedProperties(HttpRequestMessage, Type, Boolean)

Determines the set of properties to include in the OData $select query option for types implementing the ITableData interface. ITableData has two sets of properties: regular properties and system properties. The system properties are only included if the __systemproperties query parameter is included in the Request URI. This function determines the combined set of selected properties and updates the request URI accordingly, if necessary.

SetSelectedProperties(HttpRequestMessage, Type, IDictionary<String,String>, Boolean)

Determines the set of properties to include in the OData $select query option for types implementing the ITableData interface. ITableData has two sets of properties: regular properties and system properties. The system properties are only included if the __systemproperties query parameter is included in the Request URI. This function determines the combined set of selected properties and updates the request URI accordingly, if necessary.

Applies to