Interface IKey<TEntity>
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
TEntityThe entity the key belongs to.