TableOperation.Retrieve Method

Definition

Overloads

Retrieve(String, String, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

Retrieve<TElement>(String, String, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

Retrieve<TResult>(String, String, EntityResolver<TResult>, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

Retrieve(String, String, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

public static Microsoft.WindowsAzure.Storage.Table.TableOperation Retrieve (string partitionKey, string rowkey, System.Collections.Generic.List<string> selectedColumns = null);
Parameters
partitionKey
String

A string containing the partition key of the entity to be retrieved.

rowkey
String

A string containing the row key of the entity to be retrieved.

selectedColumns
List<String>

List of column names for projection.

Returns

Retrieve<TElement>(String, String, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

public static Microsoft.WindowsAzure.Storage.Table.TableOperation Retrieve<TElement> (string partitionKey, string rowkey, System.Collections.Generic.List<string> selectColumns = null) where TElement : Microsoft.WindowsAzure.Storage.Table.ITableEntity;
Type Parameters
TElement

The class of type for the entity to retrieve.

Parameters
partitionKey
String

A string containing the partition key of the entity to retrieve.

rowkey
String

A string containing the row key of the entity to retrieve.

selectColumns
List<String>

List of column names for projection.

Returns

Retrieve<TResult>(String, String, EntityResolver<TResult>, List<String>)

Creates a new table operation that retrieves the contents of the given entity in a table.

public static Microsoft.WindowsAzure.Storage.Table.TableOperation Retrieve<TResult> (string partitionKey, string rowkey, Microsoft.WindowsAzure.Storage.Table.EntityResolver<TResult> resolver, System.Collections.Generic.List<string> selectedColumns = null);
Type Parameters
TResult

The return type which the specified EntityResolver<T> will resolve the given entity to.

Parameters
partitionKey
String

A string containing the partition key of the entity to retrieve.

rowkey
String

A string containing the row key of the entity to retrieve.

resolver
EntityResolver<TResult>

The EntityResolver<T> implementation to project the entity to retrieve as a particular type in the result.

selectedColumns
List<String>

List of column names for projection.

Returns

Applies to