I am trying to retrieve some entities from a table. I am successfully able to get back strings but when I try to get GUID, it comes back empty (all zeros).
[DataContract]
public class myEntity : TableEntity
{
[DataMember(Name = "ID")]
public Guid Id { get; set; }
[DataMember(Name = "Name")]
public string Name { get; set; }
[DataMember(Name = "City")]
public string City { get; set; }
}
...
var storageAccount = CloudStorageAccount.Parse(conStr);
var tableClient = storageAccount.CreateCloudTableClient();
var table = tableClient.GetTableReference(tblName);
TableQuery<myEntity> query = new TableQuery<myEntity>().Where(string.Empty);
How do I get the correct value of GUIDs in table storage? Is it related to TableEntity.ReadEntity?