2016-05-01 21:48:37 +00:00
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2016-11-11 04:25:21 +00:00
|
|
|
|
namespace MediaBrowser.Server.Startup.Common.Persistence
|
2016-05-01 21:48:37 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IDbConnector
|
|
|
|
|
{
|
2016-06-11 15:55:05 +00:00
|
|
|
|
Task<IDbConnection> Connect(string dbPath, bool isReadOnly, bool enablePooling = false, int? cacheSize = null);
|
2016-05-01 21:48:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|