I have
var query =
from Dev device
in storage.QueryEntities<Dev>("dev")
where device.PartitionKey == "1"
select device;
I only want some of the columns from the table. Doing
var query =
from Dev device
in storage.QueryEntities<Dev>("dev")
where device.PartitionKey == "1"
select new {device.ID, device.Model};
Doesnt work: emits the field names as part of the REST query ($select=ID,Model) and azure returns ‘InvalidInput’
See http://msdn.microsoft.com/en-us/library/dd135725.aspx
So you simply can’t do this projection at the table interface level – you have to select all the fields