I have an Azure Table called "Motion". The table has the following fields:
- PartitionKey
- RowKey
- spaceid
- readingtime
The casing is the one which shows up in Cloud Explorer in Visual Studio. I query this table using a class "MotionModel"
public class MotionData : TableEntity
{
public MotionData() { }
public string spaceid {get; set;}
public DateTime readingtime { get; set; }
}
I get the values correctly. However, if I change this to
public class MotionData : TableEntity
{
public MotionData() { }
public string SpaceId {get; set;}
public DateTime ReadingTime { get; set; }
}
I get values in ReadingTime but the SpaceId is null. Is there a guideline around naming the properties for the TableEntity class?