Share via


TableQuery Class

Definition

Represents a query against a specified table.

public class TableQuery
type TableQuery = class
Public Class TableQuery
Inheritance
TableQuery

Constructors

TableQuery()

Represents a query against a specified table.

Properties

FilterString

Gets or sets the filter expression to use in the table query.

SelectColumns

Gets or sets the property names of the table entity properties to return when the table query is executed.

TakeCount

Gets or sets the number of entities the table query will return.

Methods

CombineFilters(String, String, String)

Creates a filter condition using the specified logical operator on two filter conditions.

Copy()

Make a shallow copy of this TableQuery object.

GenerateFilterCondition(String, String, String)

Generates a property filter condition string for the string value.

GenerateFilterConditionForBinary(String, String, Byte[])

Generates a property filter condition string for the binary value.

GenerateFilterConditionForBool(String, String, Boolean)

Generates a property filter condition string for the boolean value.

GenerateFilterConditionForDate(String, String, DateTimeOffset)

Generates a property filter condition string for the DateTimeOffset value.

GenerateFilterConditionForDouble(String, String, Double)

Generates a property filter condition string for the Double value.

GenerateFilterConditionForGuid(String, String, Guid)

Generates a property filter condition string for the Guid value.

GenerateFilterConditionForInt(String, String, Int32)

Generates a property filter condition string for an Int32 value.

GenerateFilterConditionForLong(String, String, Int64)

Generates a property filter condition string for an Int64 value.

OrderBy(String)

Define order by expression for the table query. Only applied to Cosmos Table Endpoint.

OrderByDesc(String)

Define order by desc expression for the table query. Only applied to Cosmos Table Endpoint.

Project<T>(T, String[])

Specifies the names of the entity properties to return when the query is executed against the table.

Select(IList<String>)

Defines the property names of the table entity properties to return when the table query is executed.

Take(Nullable<Int32>)

Defines the upper bound for the number of entities the query returns.

Where(String)

Defines a filter expression for the table query. Only entities that satisfy the specified filter expression will be returned by the query.

Applies to