AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a context expression for DynamoDB operations in the object-persistence programming model. Used to encapsulate filter expressions for query and scan operations.
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class ContextExpression
The ContextExpression type exposes the following members
Name | Description | |
---|---|---|
![]() |
ContextExpression() |
Name | Type | Description | |
---|---|---|---|
![]() |
Filter | System.Linq.Expressions.Expression |
Gets the filter expression used to filter results in DynamoDB operations. This expression is typically constructed from a LINQ expression tree. |
Name | Description | |
---|---|---|
![]() ![]() |
AttributeExists(object) |
Indicates that the attribute exists in the DynamoDB item. Intended for use in LINQ expressions to generate DynamoDB attribute_exists conditions. This method is only used inside expression trees and should not be called at runtime. |
![]() ![]() |
AttributeNotExists(object) |
Indicates that the attribute does not exist in the DynamoDB item. Intended for use in LINQ expressions to generate DynamoDB attribute_not_exists conditions. This method is only used inside expression trees and should not be called at runtime. |
![]() ![]() |
AttributeType(object, string) |
Indicates that the attribute is of the specified DynamoDB type. Intended for use in LINQ expressions to generate DynamoDB attribute_type conditions. This method is only used inside expression trees and should not be called at runtime. |
![]() ![]() |
Between(T, T, T) |
Indicates that the value should be compared to see if it falls inclusively between the specified lower and upper bounds. Intended for use in LINQ expressions to generate DynamoDB BETWEEN conditions. This method is only used inside expression trees and should not be called at runtime. |
![]() |
SetFilter(Expression<Func<T, Boolean>>) |
Sets the filter expression for DynamoDB operations. Converts the provided LINQ expression into an internal expression tree for use in DynamoDB queries or scans. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer