Show / Hide Table of Contents

Class DynamoPrimaryKey

Represents an untyped DynamoDB primary key.

Inheritance
System.Object
DynamoPrimaryKey
DynamoPrimaryKey<TRecord>
Namespace: LambdaSharp.DynamoDB.Native
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public class DynamoPrimaryKey

Constructors

DynamoPrimaryKey(String, String)

Creates a new DynamoPrimaryKey instance.

Declaration
public DynamoPrimaryKey(string pkValue, string skValue)
Parameters
Type Name Description
System.String pkValue

The partition key (PK) value.

System.String skValue

The sort key (SK) value.

DynamoPrimaryKey(String, String, String[])

Creates a new DynamoPrimaryKey instance.

Declaration
public DynamoPrimaryKey(string pkValueFormat, string skValueFormat, params string[] values)
Parameters
Type Name Description
System.String pkValueFormat

The format string for the partition key (PK) value.

System.String skValueFormat

The format string for the sort key (PK) value.

System.String[] values

A string array that contains zero or more strings for both format strings.

Properties

PKName

The partition key (PK) name.

Declaration
public string PKName { get; }
Property Value
Type Description
System.String

PKValue

The partition key (PK) value.

Declaration
public string PKValue { get; }
Property Value
Type Description
System.String

SKName

The sort key (SK) name.

Declaration
public string SKName { get; }
Property Value
Type Description
System.String

SKValue

The sort key (SK) value.

Declaration
public string SKValue { get; }
Property Value
Type Description
System.String
In This Article
Back to top Generated by DocFX