I have Azure table entity where I have queryResult with Partition Key, RowKey, Etag and Properties. I am trying to read Properties contains my table columns. But I am facing issue in reading the Properties using LINQ or tried to loop Properties and again I have to loop Properties as its contains My table columns... referred some samples which are telling to use table.ExecuteQuery(query);
But I am getting response contains 4 values and Properties contains my actual columns data.... any help really appreciated.
Public class MyEntityModel : TableEntity
{
MyEntityModel (){}
MyEnityModel(string Category, string Id){
PartitionKey=Category;
RowKey= Id;
}
Public string leaveCount{ get;set;}
Public string leaveReason{get;set;}
}
TableQuery<DynamicTableEntity> query=new
TableQuery<DynamicTableEntity>();
Var result = table.ExecuteQuerySegmented(query,token)
Var entityItems=result.Results;
Var propsItems=entityItems.Select(x=>x Properties). ToList();
Even if I am providing my entity model to query like
TableQuery <MyEntityModel> query = new TableQuery();
I am getting data with Partition key and RowKey value, but Properties (entity column values) is null.

We can use EntityPropertConverter to get the Properties details like below
This give me the column values.
We can also do like this
This will create a object with the values....