aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/DataStore/Tango.DataStore/IDataStoreManager.cs
blob: 5443f12e22cbeba8ce685075134ecd91f28084ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.DataStore
{
    /// <summary>
    /// Represents a key/value data store manager.
    /// </summary>
    /// <seealso cref="System.IDisposable" />
    public interface IDataStoreManager : IDisposable
    {
        /// <summary>
        /// Gets the data store collection by name.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <returns></returns>
        IDataStoreCollection GetCollection(String name);

        /// <summary>
        /// Gets all the collection names.
        /// </summary>
        /// <returns></returns>
        List<String> GetCollectionNames();
    }
}