title: How do I batch results using DynamoDBContext
body: <p>I am using DynamoDB .NET object persistence model to scan a table with conditions as below.</p>
  
  <pre><code>public IEnumerable&lt;Product&gt; GetProducts(string attribute1Value, string attribute2Value
  {
      IEnumerable&lt;Product&gt; products = null;
      try
      {
          RegionEndpoint region = RegionEndpoint.GetBySystemName("us-east-1");
          AmazonDynamoDB client = new AmazonDynamoDBClient(account.AwsAccessKey, account.AwsSecretKey, region);
  
          DynamoDBContext context = new DynamoDBContext(client);
          products = context.Scan&lt;Product&gt;(
              new ScanCondition("attribute1", ScanOperator.Equal, attribute1Value),
              new ScanCondition("attribute2", ScanOperator.Equal, attribute2Value));
  
      }
      catch (AmazonServiceException ase)
      {
          log.Error("Amazon Service Exception, Message: " + ase.Message + ", request id: " + ase.RequestId);
      }
      catch (Exception e)
      {
          log.Error("Exception: " + e.Message);
      }
      return products;
  }
  </code></pre>
  
  <p>How do I handle output when it exceeds 1 MB limit set by DynamoDB when I am using DynamoDBContext?
  Thanks</p>