private async void OpenStoreAsync()
        {
            await CopyUDBFiles();

            if (storeOperator != null)
            {
                storeOperator.CloseOfflineStore();
                storeOperator = null;
            }

            storeOperator        = new StoreOperator();
            storeOperator.result = this.Result;
            Dictionary <string, string> definingRequests = new Dictionary <string, string>
            {
                { "Photos", "/Photos" }
            };

            ODataOfflineStoreOptions options = new ODataOfflineStoreOptions
            {
                StoreName   = "lodata",
                ServiceRoot = "http://localhost:8180/odata/Album/",
                Host        = "http://localhost",
                Port        = 8180
            };

            listener = new StoreListener(this.Status);
            await storeOperator.OpenOfflineStore(options, definingRequests, listener);

            await showEntityAsync();
        }
 private void CloseStore()
 {
     if (storeOperator != null)
     {
         storeOperator.CloseOfflineStore();
         storeOperator = null;
     }
 }