title: How to use Azure functions Binder to query Table specified at runtime?
body: <p>It's straightforward to bind an Azure function to a table by specifying Table attribute with a table name:</p>
  
  <pre><code>[FunctionName("TableInput")]
  public static void Run(
      [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)] HttpRequest req, 
      [Table("MyTable")] MyTable table, 
      ILogger log)
  {
      ...
  }
  </code></pre>
  
  <p>But what if the table name is parameterized, i.e. the function reads from table which name is passed in the HTTP request:</p>
  
  <pre><code>[FunctionName("queryById")]
  public static async Task&lt;IActionResult&gt; Run(
      [HttpTrigger(AuthorizationLevel.Function, "get", Route = "{tableName}")] HttpRequest req,
      Binder binder, 
      ILogger log,
      string tableName)
  </code></pre>
  
  <p>What I would like to do is to bind a table using TableAttribute:</p>
  
  <pre><code>var attributes = new Attribute[]
  {    
      new TableAttribute(collectionName), 
  };
  </code></pre>
  
  <p>But it doesn't look like IBinder interface supports table binding for the purpose of reading data from a table. I can't use BindAsync with CloudTable type in order to obtain a reference to Table. I can bind to a TableEntity but this works only for the purpose of inserting data to the table using IAcyncCollector.</p>
  
  <p>Is there a way to dynamically bind Azure function to a table by specifying table name at runtime?</p>