TableBatchOperation.Retrieve TableBatchOperation.Retrieve TableBatchOperation.Retrieve Method

Definition

Overloads

Retrieve(String, String) Retrieve(String, String) Retrieve(String, String)

Adds a TableOperation to the TableBatchOperation that retrieves an entity with the specified partition key and row key.

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

Inserts a TableOperation into the batch that retrieves an entity based on its row key and partition key. The entity will be deserialized into the specified class type which extends ITableEntity.

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

Adds a table operation to retrieve an entity of the specified class type with the specified partition key and row key to the batch operation.

Retrieve(String, String) Retrieve(String, String) Retrieve(String, String)

Adds a TableOperation to the TableBatchOperation that retrieves an entity with the specified partition key and row key.

public void Retrieve (string partitionKey, string rowKey);
member this.Retrieve : string * string -> unit
Public Sub Retrieve (partitionKey As String, rowKey As String)
Parameters
partitionKey
String String String

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

rowKey
String String String

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

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

Inserts a TableOperation into the batch that retrieves an entity based on its row key and partition key. The entity will be deserialized into the specified class type which extends ITableEntity.

public void Retrieve<TElement> (string partitionKey, string rowKey, System.Collections.Generic.List<string> selectedColumns = null) where TElement : Microsoft.WindowsAzure.Storage.Table.ITableEntity;
member this.Retrieve : string * string * System.Collections.Generic.List<string> -> unit (requires 'Element :> Microsoft.WindowsAzure.Storage.Table.ITableEntity)
Public Sub Retrieve(Of TElement As ITableEntity) (partitionKey As String, rowKey As String, Optional selectedColumns As List(Of String) = null)
Type Parameters
TElement

The class of type for the entity to retrieve.

Parameters
partitionKey
String String String

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

rowKey
String String String

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

selectedColumns
List<String>

List of column names for projection.

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

Adds a table operation to retrieve an entity of the specified class type with the specified partition key and row key to the batch operation.

public void Retrieve<TResult> (string partitionKey, string rowKey, Microsoft.WindowsAzure.Storage.Table.EntityResolver<TResult> resolver, System.Collections.Generic.List<string> selectedColumns = null);
member this.Retrieve : string * string * Microsoft.WindowsAzure.Storage.Table.EntityResolver<'Result> * System.Collections.Generic.List<string> -> unit
Public Sub Retrieve(Of TResult) (partitionKey As String, rowKey As String, resolver As EntityResolver(Of TResult), Optional selectedColumns As List(Of String) = null)
Type Parameters
TResult

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

Parameters
partitionKey
String String String

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

rowKey
String String 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.

Applies to