I am using Java language and created a class which extends from TableServiceEntity.
public class GameLogsByHandGameId extends TableServiceEntity{
private final String TABLE_NAME = "GameLogsByHandGameId";
public GameLogsByHandGameId(String handId, String gameId) {
this.partitionKey = handId;
this.rowKey = gameId;
}
@Override
public String getPartitionKey() {
return this.partitionKey;
}
@Override
public String getRowKey() {
return this.rowKey;
}
public long getTableId() {
return tableId;
}
public void setTableId(long tableId) {
this.tableId = tableId;
}
public int getUserId() {
return userId;
}
public void setUserId(int userId) {
this.userId = userId;
}
@Override
public String getTableName() {
return TABLE_NAME;
}
Any azure table entity has three system properties, PartitionKey,RowKey and Timestamp.
MSDN Documentation(https://msdn.microsoft.com/en-us/library/azure/dd179338.aspx) says "The server manages the value of Timestamp, which cannot be modified"
I do not have TimeStamp property in my entity; I though server would anyways insert it in table for every entity.
Though When I see my entity on Table storage; I do not see TimeStamp column?
Do I need to enable it or something?