Show / Hide Table of Contents

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.String pkValue

Partition key (PK) value.

Returns
Type Description
IDynamoQuerySortKeyConstraint

SelectPK<TRecord>(String)

Add a partition key (PK) constraint.

Declaration
IDynamoQuerySortKeyConstraint<TRecord> SelectPK<TRecord>(string pkValue)
    where TRecord : class
Parameters
Type Name Description
System.String pkValue

The partition key (PK) value.

Returns
Type Description
IDynamoQuerySortKeyConstraint<TRecord>
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.String pkValueFormat

Format string for the partition key (PK) value.

System.String[] values

A string array that contains zero or more strings for the partition key format string.

Returns
Type Description
IDynamoQuerySortKeyConstraint

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.String pkValueFormat

Format string for the partition key (PK) value.

System.String[] values

A string array that contains zero or more strings for the partition key format string.

Returns
Type Description
IDynamoQuerySortKeyConstraint<TRecord>
Type Parameters
Name Description
TRecord

The record type.

In This Article
Back to top Generated by DocFX