【发布时间】:2017-04-13 17:22:52
【问题描述】:
我有一个名为 “Motion” 的 Azure 表。该表具有以下字段:
- 分区键
- 行键
- spaceid
- 阅读时间
外壳是在 Visual Studio 的 Cloud Explorer 中显示的外壳。我使用类 "MotionModel"
查询此表public class MotionData : TableEntity
{
public MotionData() { }
public string spaceid {get; set;}
public DateTime readingtime { get; set; }
}
我得到了正确的值。但是,如果我将其更改为
public class MotionData : TableEntity
{
public MotionData() { }
public string SpaceId {get; set;}
public DateTime ReadingTime { get; set; }
}
我在 ReadingTime 中获得值,但 SpaceId 为空。 是否有关于命名 TableEntity 类的属性的指南?
【问题讨论】:
-
这个话题有更新吗?
标签: c# azure azure-table-storage