2016-05-01 21:48:37 +00:00
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2016-11-11 06:43:42 +00:00
|
|
|
|
namespace Emby.Server.Core.Data
|
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
|
|
|
|
}
|
|
|
|
|
}
|