Exemplo n.º 1
0
        public DynamoTable(string tableName, DynamoDbClient client)
        {
            this.tableName = tableName ?? throw new ArgumentNullException(nameof(tableName));
            this.client    = client ?? throw new ArgumentNullException(nameof(client));

            // TODO: Validate the key properties
        }
Exemplo n.º 2
0
        public DynamoTable(string tableName, DynamoDbClient client)
        {
            #region Preconditions

            if (tableName == null)
            {
                throw new ArgumentNullException(nameof(tableName));
            }
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            #endregion

            this.tableName = tableName;
            this.client    = client;

            // TODO: Validate the key properties
        }
Exemplo n.º 3
0
 public DynamoTable(DynamoDbClient client)
     : this(metadata.Name, client)
 {
 }