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