diff options
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/Persistence/IDbConnector.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/Persistence/IDbConnector.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Startup.Common/Persistence/IDbConnector.cs b/MediaBrowser.Server.Startup.Common/Persistence/IDbConnector.cs new file mode 100644 index 000000000..773d5eaee --- /dev/null +++ b/MediaBrowser.Server.Startup.Common/Persistence/IDbConnector.cs @@ -0,0 +1,10 @@ +using System.Data; +using System.Threading.Tasks; + +namespace MediaBrowser.Server.Startup.Common.Persistence +{ + public interface IDbConnector + { + Task<IDbConnection> Connect(string dbPath, bool isReadOnly, bool enablePooling = false, int? cacheSize = null); + } +} |
