Exemplo n.º 1
0
        private void _LoadFromDocumentStore_v2(BsonValue key)
        {
            BsonDocument document = _dataStore.LoadFromKey(key);

            Deserialize(document);
            _dataLoaded          = true;
            _dataLoadedFromStore = true;
        }
Exemplo n.º 2
0
        protected void LoadFromStore(WebData_v2 <TSource, TData> webData)
        {
            //Trace.WriteLine($"WebDataManager_v5.LoadFromStore()");

            BsonDocument document = _store.LoadFromKey(webData.Key);

            Deserialize(webData, document);
            webData.DataLoaded          = true;
            webData.DataLoadedFromStore = true;
        }