aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Core/Data/IDbConnector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Core/Data/IDbConnector.cs')
-rw-r--r--Emby.Server.Core/Data/IDbConnector.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Emby.Server.Core/Data/IDbConnector.cs b/Emby.Server.Core/Data/IDbConnector.cs
new file mode 100644
index 0000000000..ca6c13daee
--- /dev/null
+++ b/Emby.Server.Core/Data/IDbConnector.cs
@@ -0,0 +1,10 @@
+using System.Data;
+using System.Threading.Tasks;
+
+namespace Emby.Server.Core.Data
+{
+ public interface IDbConnector
+ {
+ Task<IDbConnection> Connect(string dbPath, bool isReadOnly, bool enablePooling = false, int? cacheSize = null);
+ }
+}