/// <summary>
 /// Sets a configuration value
 /// </summary>
 /// <typeparam name="T">Type of the configuration value</typeparam>
 /// <param name="ConfigKey">Key to locate the configration in the category</param>
 /// <param name="ConfigCategory">Category of the configuration</param>
 /// <param name="Value">Value to be stored</param>
 public void SetConfig <T>(string ConfigKey, string ConfigCategory, T Value)
 {
     internalDb.InsertOrReplace(new nsConfig()
     {
         Id    = buildKey(ConfigKey, ConfigCategory),
         Value = Value
     });
 }
        /// <summary>
        /// Stores a new item
        /// </summary>
        /// <typeparam name="T">Type of stored item</typeparam>
        /// <param name="Key">A Key to locate the item later</param>
        /// <param name="Object">The item to be stored</param>
        public void Store <T>(string Key, T Object)
        {
            var doc = nsDocuments.Build(Key, Object, CompressEachEntry);

            internalDb.InsertOrReplace(doc);
        }