Is there any reason why the below query fails as soon as I try to evaluate the IEnumerable if lstIDs that I pass in contains 15 ID's. It works with less than 15. I know the query is not optimized as I'm not
querying using the PartitionKey or RowKey but I can't see why it fails. I can see that the query has been built and looks to be correct but I get this error message...
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>InvalidInput</code>
<message xml:lang="en-US">One of the request inputs is not valid.
RequestId:2a0aa9e7-7b0b-45b7-878f-0d81a707aee8
Time:2011-07-18T12:01:15.3502808Z</message>
</error>
public IEnumerable<TBLObject> GetObjects(List<string> lstIDs)
{
var query = (from p in this.context.Objects
select p)
.Where(BuildContainsExpression<TBLObject, string>(tt => tt.ID, lstIDs));
CloudTableQuery<TBLObject> cloudTableQuery = query.AsTableServiceQuery<TBLObject>();
return cloudTableQuery.Execute();
}