Table of Contents

Interface IKey<TEntity>

Namespace
DynaSharp.Mapping
Assembly
DynaSharp.dll

A primary key of TEntity. customers.Get(Customer.Keys.Of("alice")) infers the key type from the argument and checks it against the table, so a key of another entity is a compile error.

public interface IKey<TEntity> where TEntity : IDynamoDbDocument<TEntity>

Type Parameters

TEntity

The entity the key belongs to.