AWS SDK for .NET Documentation
DynamoDBContext Class
AmazonAmazon.DynamoDB.DataModelDynamoDBContext 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.
Declaration Syntax
C#
public class DynamoDBContext : IDynamoDBContext
Members
All MembersConstructorsMethods



IconMemberDescription
DynamoDBContext()()()()
Constructs a DynamoDBContext object with a default AmazonDynamoDBClient client and a default DynamoDBContextConfig object for configuration.

DynamoDBContext(RegionEndpoint)
Constructs a DynamoDBContext object with a default AmazonDynamoDBClient client and a default DynamoDBContextConfig object for configuration.

DynamoDBContext(DynamoDBContextConfig)
Constructs a DynamoDBContext object with the specified configuration. Uses a default AmazonDynamoDBClient as the client.

DynamoDBContext(RegionEndpoint, DynamoDBContextConfig)
Constructs a DynamoDBContext object with the specified configuration. Uses a default AmazonDynamoDBClient as the client.

DynamoDBContext(AmazonDynamoDB)
Constructs a DynamoDBContext object with the specified DynamoDB client. Uses default DynamoDBContextConfig object for configuration.

DynamoDBContext(AmazonDynamoDB, DynamoDBContextConfig)
Constructs a DynamoDBContext object with the specified DynamoDB client and configuration.

BeginDelete<(Of <<'(T>)>>)(T, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginDelete<(Of <<'(T>)>>)(T, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginDelete<(Of <<'(T>)>>)(Object, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginDelete<(Of <<'(T>)>>)(Object, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginDelete<(Of <<'(T>)>>)(Object, Object, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginDelete<(Of <<'(T>)>>)(Object, Object, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Delete operation.

BeginLoad<(Of <<'(T>)>>)(Object, AsyncCallback, Object)
Initiates the asynchronous execution of the Load operation.

BeginLoad<(Of <<'(T>)>>)(Object, Object, AsyncCallback, Object)
Initiates the asynchronous execution of the Load operation.

BeginLoad<(Of <<'(T>)>>)(Object, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Load operation.

BeginLoad<(Of <<'(T>)>>)(Object, Object, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Load operation.

BeginSave<(Of <<'(T>)>>)(T, AsyncCallback, Object)
Initiates the asynchronous execution of the Save operation.

BeginSave<(Of <<'(T>)>>)(T, DynamoDBOperationConfig, AsyncCallback, Object)
Initiates the asynchronous execution of the Save operation.

CreateBatchGet<(Of <<'(T>)>>)()()()()
Creates a strongly-typed BatchGet object, allowing a batch-get operation against DynamoDB.

CreateBatchGet<(Of <<'(T>)>>)(DynamoDBOperationConfig)
Creates a strongly-typed BatchGet object, allowing a batch-get operation against DynamoDB.

CreateBatchWrite<(Of <<'(T>)>>)()()()()
Creates a strongly-typed BatchWrite object, allowing a batch-write operation against DynamoDB.

CreateBatchWrite<(Of <<'(T>)>>)(DynamoDBOperationConfig)
Creates a strongly-typed BatchWrite object, allowing a batch-write operation against DynamoDB.

CreateMultiTableBatchGet(array<BatchGet>[]()[][])
Creates a MultiTableBatchGet object, composed of multiple individual BatchGet objects.

CreateMultiTableBatchWrite(array<BatchWrite>[]()[][])
Creates a MultiTableBatchWrite object, composed of multiple individual BatchWrite objects.

Delete<(Of <<'(T>)>>)(T)
Deletes an item in DynamoDB corresponding to given object. Uses DynamoDBContextConfig configured on the context. If SkipVersionCheck=false, will check version of object before deleting. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Delete<(Of <<'(T>)>>)(T, DynamoDBOperationConfig)
Deletes an item in DynamoDB corresponding to given object. Passed-in config overrides DynamoDBContextConfig on the context. If SkipVersionCheck=false, will check version of object before deleting. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Delete<(Of <<'(T>)>>)(Object)
Deletes an item in DynamoDB corresponding to a given hash primary key. No version check is done prior to delete. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Delete<(Of <<'(T>)>>)(Object, DynamoDBOperationConfig)
Deletes an item in DynamoDB corresponding to a given hash primary key. No version check is done prior to delete. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Delete<(Of <<'(T>)>>)(Object, Object)
Deletes an item in DynamoDB corresponding to a given hash-and-range primary key. No version check is done prior to delete. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Delete<(Of <<'(T>)>>)(Object, Object, DynamoDBOperationConfig)
Deletes an item in DynamoDB corresponding to a given hash-and-range primary key. No version check is done prior to delete. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

EndDelete(IAsyncResult)
Finishes the asynchronous execution of the Delete operation.

EndLoad<(Of <<'(T>)>>)(IAsyncResult)
Finishes the asynchronous execution of the Load operation.

EndSave(IAsyncResult)
Finishes the asynchronous execution of the Save operation.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteBatchGet(array<BatchGet>[]()[][])
Issues a batch-get request with multiple batches. Results are stored in the individual batches.

ExecuteBatchWrite(array<BatchWrite>[]()[][])
Issues a batch-write request with multiple batches.

FromDocument<(Of <<'(T>)>>)(Document)
Deserializes a document to an instance of type T.

FromQuery<(Of <<'(T>)>>)(QueryOperationConfig)
Executes a Query operation against DynamoDB, finding items that match the specified conditions.

FromQuery<(Of <<'(T>)>>)(QueryOperationConfig, DynamoDBOperationConfig)
Executes a Query operation against DynamoDB, finding items that match the specified conditions.

FromScan<(Of <<'(T>)>>)(ScanOperationConfig)
Executes a Scan operation against DynamoDB, finding items that match the specified conditions.

FromScan<(Of <<'(T>)>>)(ScanOperationConfig, DynamoDBOperationConfig)
Executes a Scan operation against DynamoDB, finding items that match the specified conditions.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTargetTable<(Of <<'(T>)>>)()()()()
Retrieves the target table for the specified type

GetTargetTable<(Of <<'(T>)>>)(DynamoDBOperationConfig)
Retrieves the target table for the specified type

GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Load<(Of <<'(T>)>>)(Object)
Loads an object from DynamoDB for the given hash primary key. Uses DynamoDBContextConfig configured on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Load<(Of <<'(T>)>>)(Object, DynamoDBOperationConfig)
Loads an object from DynamoDB for the given hash primary key and using the given config. Passed-in config overrides DynamoDBContextConfig on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Load<(Of <<'(T>)>>)(Object, Object)
Loads an object from DynamoDB for the given hash-and-range primary key. Uses DynamoDBContextConfig configured on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Load<(Of <<'(T>)>>)(Object, Object, DynamoDBOperationConfig)
Loads an object from DynamoDB for the given hash-and-range primary key and using the given config. Passed-in config overrides DynamoDBContextConfig on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Query<(Of <<'(T>)>>)(Object)
Executes a Query operation against DynamoDB, finding items that match the specified hash primary key.

Query<(Of <<'(T>)>>)(Object, DynamoDBOperationConfig)
Executes a Query operation against DynamoDB, finding items that match the specified hash primary key.

Query<(Of <<'(T>)>>)(Object, QueryOperator, array<Object>[]()[][])
Executes a Query operation against DynamoDB, finding items that match the specified range element condition for a hash-and-range primary key.

Query<(Of <<'(T>)>>)(Object, QueryOperator, IEnumerable<(Of <<'(Object>)>>), DynamoDBOperationConfig)
Executes a Query operation against DynamoDB, finding items that match the specified range element condition for a hash-and-range primary key.

Save<(Of <<'(T>)>>)(T)
Saves an object to DynamoDB. Uses DynamoDBContextConfig configured on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Save<(Of <<'(T>)>>)(T, DynamoDBOperationConfig)
Saves an object to DynamoDB using passed-in configs. Passed-in config overrides DynamoDBContextConfig on the context. Type must be marked up with DynamoDBTableAttribute and at least one public field/property with DynamoDBHashKeyAttribute.

Scan<(Of <<'(T>)>>)(array<ScanCondition>[]()[][])
Executes a Scan operation against DynamoDB, finding items that match the specified conditions.

Scan<(Of <<'(T>)>>)(IEnumerable<(Of <<'(ScanCondition>)>>), DynamoDBOperationConfig)
Executes a Scan operation against DynamoDB, finding items that match the specified conditions.

ToDocument<(Of <<'(T>)>>)(T)
Serializes an object to a Document.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
DynamoDBContext

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)