DynamoDBContext Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Context object for using the DataModel mode of DynamoDB. Used to interact with the service, save/load objects, etc.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DataModel.DynamoDBContext

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class DynamoDBContext : Object
         IDynamoDBContext

The DynamoDBContext type exposes the following members

Constructors

  Name Description
Public Method DynamoDBContext() Constructs a DynamoDBContext object with a default AmazonDynamoDBClient client and a default DynamoDBContextConfig object for configuration.
Public Method DynamoDBContext(RegionEndpoint) Constructs a DynamoDBContext object with a default AmazonDynamoDBClient client and a default DynamoDBContextConfig object for configuration.
Public Method DynamoDBContext(DynamoDBContextConfig) Constructs a DynamoDBContext object with the specified configuration. Uses a default AmazonDynamoDBClient as the client.
Public Method DynamoDBContext(RegionEndpoint, DynamoDBContextConfig) Constructs a DynamoDBContext object with the specified configuration. Uses a default AmazonDynamoDBClient as the client.
Public Method DynamoDBContext(IAmazonDynamoDB) Constructs a DynamoDBContext object with the specified DynamoDB client. Uses default DynamoDBContextConfig object for configuration.
Public Method DynamoDBContext(IAmazonDynamoDB, DynamoDBContextConfig) Constructs a DynamoDBContext object with the specified DynamoDB client and configuration.

Methods

  Name Description
Public Method CreateBatchGet(DynamoDBOperationConfig)
Public Method CreateBatchWrite(DynamoDBOperationConfig)
Public Method CreateMultiTableBatchGet(BatchGet[]) Creates a MultiTableBatchGet object, composed of multiple individual BatchGet objects.
Public Method CreateMultiTableBatchWrite(BatchWrite[]) Creates a MultiTableBatchWrite object, composed of multiple individual BatchWrite objects.
Public Method Delete(T, DynamoDBOperationConfig)
Public Method Delete(object, object, DynamoDBOperationConfig)
Public Method DeleteAsync(T, DynamoDBOperationConfig, CancellationToken)
Public Method DeleteAsync(object, object, DynamoDBOperationConfig, CancellationToken)
Public Method ExecuteBatchGet(BatchGet[]) Issues a batch-get request with multiple batches. Results are stored in the individual batches.
Public Method ExecuteBatchGetAsync(BatchGet[], CancellationToken) Issues a batch-get request with multiple batches. Results are stored in the individual batches.
Public Method ExecuteBatchWrite(BatchWrite[]) Issues a batch-write request with multiple batches.
Public Method ExecuteBatchWriteAsync(BatchWrite[], CancellationToken) Issues a batch-write request with multiple batches.
Public Method FromDocument(Document)
Public Method FromDocuments(IEnumerable`1)
Public Method FromQuery(QueryOperationConfig)
Public Method FromQuery(QueryOperationConfig, DynamoDBOperationConfig)
Public Method FromQueryAsync(QueryOperationConfig, DynamoDBOperationConfig)
Public Method FromScan(ScanOperationConfig, DynamoDBOperationConfig)
Public Method FromScanAsync(ScanOperationConfig, DynamoDBOperationConfig)
Public Method GetTargetTable(DynamoDBOperationConfig)
Public Method Load(object, object, DynamoDBOperationConfig)
Public Method Load(T, DynamoDBOperationConfig)
Public Method LoadAsync(object, object, DynamoDBOperationConfig, CancellationToken)
Public Method LoadAsync(T, DynamoDBOperationConfig, CancellationToken)
Public Method Query(object)
Public Method Query(object, DynamoDBOperationConfig)
Public Method Query(object, QueryOperator, Object[])
Public Method Query(object, QueryOperator, IEnumerable`1, DynamoDBOperationConfig)
Public Method QueryAsync(object, DynamoDBOperationConfig)
Public Method QueryAsync(object, QueryOperator, IEnumerable`1, DynamoDBOperationConfig)
Public Method Save(T, DynamoDBOperationConfig)
Public Method SaveAsync(T, DynamoDBOperationConfig, CancellationToken)
Public Method Scan(ScanCondition[])
Public Method Scan(IEnumerable`1, DynamoDBOperationConfig)
Public Method ScanAsync(IEnumerable`1, DynamoDBOperationConfig)
Public Method ToDocument(T)

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5