Interface IDynamoTableTransactWriteItemsPutItem<TRecord>
Interface to specify a PutItem operation for TransactWriteItems.
Namespace: LambdaSharp.DynamoDB.Native.Operations
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public interface IDynamoTableTransactWriteItemsPutItem<TRecord>
where TRecord : class
Type Parameters
Name | Description |
---|---|
TRecord | The record type. |
Methods
End()
End specification of the PutItem operation for TransactWriteItems.
Declaration
IDynamoTableTransactWriteItems End()
Returns
Type | Description |
---|---|
IDynamo |
Set(String, AttributeValue)
Set the value of a DynamoDB item attribute. Used for storing attributes used by local/global secondary indices.
Declaration
IDynamoTableTransactWriteItemsPutItem<TRecord> Set(string key, AttributeValue value)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | Name of attribute. |
Amazon. |
value | Value of attribute. |
Returns
Type | Description |
---|---|
IDynamo |
WithCondition(Expression<Func<TRecord, Boolean>>)
Add condition for PutItem operation.
Declaration
IDynamoTableTransactWriteItemsPutItem<TRecord> WithCondition(Expression<Func<TRecord, bool>> condition)
Parameters
Type | Name | Description |
---|---|---|
System. |
condition | A lambda predicate representing the DynamoDB condition expression. |
Returns
Type | Description |
---|---|
IDynamo |