public void Delete(MobileServiceTable <SpawnFlag> table, SpawnFlag item)
 {
     // Deletes spawn flag from azure table
     if (Validate(item))
     {
         table.Delete <SpawnFlag>(item.id, OnDeleteCompleted);
     }
 }
예제 #2
0
        public static void DeleteTask(int taskId)
        {
            MobileServiceTable <TodoItem> todoItemTable = App.MobileServiceClient.GetTable <TodoItem>();

            todoItemTable.Delete(taskId, err => {
                if (err != null)
                {
                    Console.WriteLine("DELETE FAILED");
                }
            });
        }
    public void Delete()
    {
        Highscore score = GetScore();

        StartCoroutine(_table.Delete <Highscore> (score.id, OnDeleteCompleted));
    }