/// <summary>
        /// Gets the specified DataSet
        /// </summary>
        /// <param name="name">DataSet Name or Index Nam</param>
        /// <returns></returns>
        public GlobalStoreDataSet Get(string name)
        {
            if (string.IsNullOrEmpty(name))
            {
                return(null);
            }

            return(DataSetsDictionary
                   .Where(d => string.Equals(d.Value.AliasName, name, System.StringComparison.OrdinalIgnoreCase) ||
                          string.Equals(d.Value.IndexName, name, System.StringComparison.OrdinalIgnoreCase))
                   .Select(d => d.Value)
                   .FirstOrDefault());
        }
 public void Remove(string name)
 {
     DataSetsDictionary.Remove(name);
 }
 public void Add(string name, GlobalStoreDataSet dataSet)
 {
     DataSetsDictionary.Add(name, dataSet);
 }
 /// <summary>
 /// Checks if the specified DataSet is exist
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public bool IsExist(string name)
 {
     return(!string.IsNullOrEmpty(name) && DataSetsDictionary.ContainsKey(name));
 }