Show / Hide Table of Contents

Class DynamoPrimaryKey<TRecord>

Represents a typed DynamoDB primary key.

Inheritance
System.Object
DynamoPrimaryKey
DynamoPrimaryKey<TRecord>
Inherited Members
DynamoPrimaryKey.PKName
DynamoPrimaryKey.SKName
DynamoPrimaryKey.PKValue
DynamoPrimaryKey.SKValue
Namespace: LambdaSharp.DynamoDB.Native
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public class DynamoPrimaryKey<TRecord> : DynamoPrimaryKey where TRecord : class
Type Parameters
Name Description
TRecord

The record type.

Constructors

DynamoPrimaryKey(String, String)

Creates a new DynamoPrimaryKey<TRecord> 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<TRecord> 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.

In This Article
Back to top Generated by DocFX