title: Compile error using Azure Storage Client library 3.0 method executequery<T> where T is tableentity
body: <p>I must be missing something obvious but the following fails with a compile error:</p>
  
  <pre><code>internal static IEnumerable&lt;T&gt; GetEntitiesWithCommaSeparatedRowKeys&lt;T&gt;(
  string tableName, string partitionKey, 
  string commaDelimitedStringOfRowKeys) where T: TableEntity
  {
   ....
      TableQuery&lt;T&gt; entitiesQuery = new TableQuery&lt;T&gt;().Where(
                   TableQuery.CombineFilters(
                             TableQuery.GenerateFilterCondition("PartitionKey",
                             QueryComparisons.Equal, partitionKey),
                             TableOperators.And,
                             AzureHelper.GetFilterConditionForCommaDelimitedStringOfRowKeys(commaDelimitedStringOfRowKeys)
                             ));
      // compile error on this line
      IEnumerable&lt;T&gt; entities = table.ExecuteQuery&lt;T&gt;(entitiesQuery);
   ...
   }
  </code></pre>
  
  <p>The error I get is:</p>
  
  <pre><code>'T' must be a non-abstract type with a public parameterless constructor 
  in order to use it as parameter 'TElement' in the generic type or 
  method 'Microsoft.WindowsAzure.Storage.Table.CloudTable.ExecuteQuery&lt;TElement&gt;
  (Microsoft.WindowsAzure.Storage.Table.TableQuery&lt;TElement&gt;, 
  Microsoft.WindowsAzure.Storage.Table.TableRequestOptions, 
  Microsoft.WindowsAzure.Storage.OperationContext)'
  </code></pre>
  
  <p>TableEntity clearly has a public parameterless constructor and is non-abstract.
  The following is the object from metadata info when I hit F12 on TableEntity (just to ensure its resolving the TableEntity type correctly).</p>
  
  <pre><code>namespace Microsoft.WindowsAzure.Storage.Table
  {
  
      public class TableEntity : ITableEntity
      {
          // Summary:
          //     Initializes a new instance of the Microsoft.WindowsAzure.Storage.Table.TableEntity
          //     class.
          public TableEntity();
          ...
      }
  }
  </code></pre>
  
  <p>Any ideas anyone? 
  FYI I'm using Azure Client library 3.0.1.0.</p>
  
  <p>UPDATE: Added <a href="https://stackoverflow.com/questions/13480039/tablequeryt-from-azure-tablestorage-that-filters-on-partitionkey?rq=1">linked issue</a> which solved a similar problem</p>