private void PushChanges()
 {
     // call the OData service directly.  we need an actual instance of the collection bound to the server
     // as we need to change the items on this and send them back...
     BookmarksService service = new BookmarksService();
     this.PushChangesState = service.ExecuteServerItems(new AsyncCallback(ReceiveServerItemsForPushChanges), this.Failed);
     if (PushChangesState == null)
         throw new InvalidOperationException("'PushChangesState' is null.");
 }
        internal ExecuteServerItemsState ExecuteServerItems(AsyncCallback callback, Failed failed)
        {
            // state...
            ExecuteServerItemsState state = new ExecuteServerItemsState();
            state.ServerTarget = this.GetServerTarget();
            if (state.ServerTarget == null)
                throw new InvalidOperationException("'state.Bookmarks' is null.");

            // run...
            state.Query = state.ServerTarget.CreateQuery<AMX.Bookmark>("Bookmark");
            state.Query.BeginExecute(callback, failed);

            // erturn...
            return state;
        }