using System;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
    /// 
    /// Provides a base interface for all the repository interfaces
    /// 
    public interface IRepository : IDisposable
    {
        /// 
        /// Opens the connection to the repository
        /// 
        /// Task.
        Task Initialize();
        /// 
        /// Gets the name of the repository
        /// 
        /// The name.
        string Name { get; }
    }
}