jeudi 3 juillet 2014

Get the _updatedAt field in Azure Mobile Services


Vote count:

0




I am using Azure Mobile Services to store and retrieve highscores for my XNA game. Azure provides a native _updatedAt column, but somehow I am not able to retrieve it.


This is my current code:



public class ScoreItem
{
public string Id { get; set; }

[JsonProperty(PropertyName = "user_name")]
public string Name { get; set; }

[JsonProperty(PropertyName = "score")]
public int Score { get; set; }

[JsonProperty(PropertyName = "_updatedAt")]
public DateTime UpdatedAt { get; set; }
}


Any idea how to fix this?



asked 39 secs ago

floAr

315





Aucun commentaire:

Enregistrer un commentaire