static void WritePlayer(CloudTable table, PlayerEntity player) { TableOperation insertOp = TableOperation.Insert(player); table.Execute(insertOp); }
public static void PersistPlayer(Player player) { var playerEntity = new PlayerEntity(account, player.Name, player.IsRetired); var table = GetTable("players"); WritePlayer(table, playerEntity); }