Interface IDynamoQueryPartitionKeyConstraint
Interface for specifying the partition key (PK) constraint.
Namespace: LambdaSharp.DynamoDB.Native.Query
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public interface IDynamoQueryPartitionKeyConstraint
Methods
SelectPK(String)
Add an untyped partition key (PK) constraint.
Declaration
IDynamoQuerySortKeyConstraint SelectPK(string pkValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
pkValue | Partition key (PK) value. |
Returns
Type | Description |
---|---|
IDynamo |
SelectPK<TRecord>(String)
Add a partition key (PK) constraint.
Declaration
IDynamoQuerySortKeyConstraint<TRecord> SelectPK<TRecord>(string pkValue)
where TRecord : class
Parameters
Type | Name | Description |
---|---|---|
System. |
pkValue | The partition key (PK) value. |
Returns
Type | Description |
---|---|
IDynamo |
Type Parameters
Name | Description |
---|---|
TRecord | The record type. |
SelectPKFormat(String, String[])
Add an untyped partition key (PK) constraint.
Declaration
virtual IDynamoQuerySortKeyConstraint SelectPKFormat(string pkValueFormat, params string[] values)
Parameters
Type | Name | Description |
---|---|---|
System. |
pkValueFormat | Format string for the partition key (PK) value. |
System. |
values | A string array that contains zero or more strings for the partition key format string. |
Returns
Type | Description |
---|---|
IDynamo |
SelectPKFormat<TRecord>(String, String[])
Add a partition key (PK) constraint.
Declaration
virtual IDynamoQuerySortKeyConstraint<TRecord> SelectPKFormat<TRecord>(string pkValueFormat, params string[] values)
where TRecord : class
Parameters
Type | Name | Description |
---|---|---|
System. |
pkValueFormat | Format string for the partition key (PK) value. |
System. |
values | A string array that contains zero or more strings for the partition key format string. |
Returns
Type | Description |
---|---|
IDynamo |
Type Parameters
Name | Description |
---|---|
TRecord | The record type. |