Beispiel #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
        }
Beispiel #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
        }
Beispiel #3
0
 public DynamoTable(DynamoDbClient client)
     : this(metadata.Name, client)
 {
 }