private string CreateListOf(Type t)
        {
            var caption = RepositoryHelpers.GetStorageName(t);

            if (!_items.ContainsKey(caption))
            {
                _items.Add(caption, new List <object>());
            }
            return(caption);
        }
Exemple #2
0
 private IMongoCollection <T> GetCollection <T>()
 {
     return(_connector
            .GetCollection <T>(
                RepositoryHelpers.GetStorageName(typeof(T))));
 }