CloudTable.CreateQuery CloudTable.CreateQuery CloudTable.CreateQuery Method

Definition

A factory method that creates a query that can be modified using LINQ. The query may be subsequently executed using one of the execution methods available for CloudTable, such as ExecuteQuery(TableQuery, TableRequestOptions, OperationContext), ExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext), or ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken).

public virtual Microsoft.WindowsAzure.Storage.Table.TableQuery<TElement> CreateQuery<TElement> () where TElement : Microsoft.WindowsAzure.Storage.Table.ITableEntitynew();
abstract member CreateQuery : unit -> Microsoft.WindowsAzure.Storage.Table.TableQuery<'Element (requires 'Element :> Microsoft.WindowsAzure.Storage.Table.ITableEntity and 'Element : (new : unit -> 'Element))> (requires 'Element :> Microsoft.WindowsAzure.Storage.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.CreateQuery : unit -> Microsoft.WindowsAzure.Storage.Table.TableQuery<'Element (requires 'Element :> Microsoft.WindowsAzure.Storage.Table.ITableEntity and 'Element : (new : unit -> 'Element))> (requires 'Element :> Microsoft.WindowsAzure.Storage.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function CreateQuery(Of TElement As {ITableEntityNew}) () As TableQuery(Of TElement)

Type Parameters

TElement

The entity type of the query.

Returns

A TableQuery object, specialized for type TElement, that may subsequently be executed.

Remarks

The Microsoft.WindowsAzure.Storage.Table.Queryable namespace includes extension methods for the TableQuery object, including WithOptions, WithContext, and AsTableQuery. To use these methods, include a using statement that references the Microsoft.WindowsAzure.Storage.Table.Queryable namespace.

Applies to