Class DynamoPrimaryKey<TRecord>
Represents a typed DynamoDB primary key.
Inherited Members
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. |
pkValue | The partition key (PK) value. |
System. |
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. |
pkValueFormat | The format string for the partition key (PK) value. |
System. |
skValueFormat | The format string for the sort key (PK) value. |
System. |
values | A string array that contains zero or more strings for both format strings. |