TableBatchOperation.Retrieve メソッド

定義

オーバーロード

Retrieve(String, String)

指定されたパーティション キーと行キーを持つエンティティを取得する TableOperationTableBatchOperation に追加します。

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

TableOperation行キーとパーティション キーに基づいてエンティティを取得する バッチに を挿入します。 エンティティは、ITableEntity を拡張する、指定されたクラスの型に逆シリアル化されます。

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

テーブル操作を追加して、指定したパーティション キーと行キーを持つ指定したクラス型のエンティティをバッチ操作に取得します。

Retrieve(String, String)

指定されたパーティション キーと行キーを持つエンティティを取得する TableOperationTableBatchOperation に追加します。

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

パラメーター

partitionKey
String

取得するエンティティのパーティション キーを表す文字列です。

rowKey
String

取得するエンティティの行キーを表す文字列です。

適用対象

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

TableOperation行キーとパーティション キーに基づいてエンティティを取得する バッチに を挿入します。 エンティティは、ITableEntity を拡張する、指定されたクラスの型に逆シリアル化されます。

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

型パラメーター

TElement

取得するエンティティの種類のクラスです。

パラメーター

partitionKey
String

取得するエンティティのパーティション キーを表す文字列です。

rowKey
String

取得するエンティティの行キーを表す文字列です。

selectedColumns
List<String>

プロジェクションの列名の一覧。

適用対象

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

テーブル操作を追加して、指定したパーティション キーと行キーを持つ指定したクラス型のエンティティをバッチ操作に取得します。

public void Retrieve<TResult> (string partitionKey, string rowKey, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, System.Collections.Generic.List<string> selectedColumns = default);
member this.Retrieve : string * string * Microsoft.Azure.Cosmos.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) = Nothing)

型パラメーター

TResult

指定された EntityResolver<T> によって、指定されたエンティティが解決される戻り値の型です。

パラメーター

partitionKey
String

取得するエンティティのパーティション キーを表す文字列です。

rowKey
String

取得するエンティティの行キーを表す文字列です。

resolver
EntityResolver<TResult>

結果で取得するエンティティを特定の型として射影する EntityResolver<T> 実装です。

selectedColumns
List<String>

プロジェクションの列名の一覧。

適用対象