@ -6,6 +6,5 @@ namespace MediaBrowser.Server.Implementations.Persistence
public interface IDbConnector
{
Task<IDbConnection> Connect(string dbPath);
void BindSimilarityScoreFunction(IDbConnection connection);
}
@ -16,11 +16,6 @@ namespace MediaBrowser.Server.Mono.Native
_logger = logger;
public void BindSimilarityScoreFunction(IDbConnection connection)
SqliteExtensions.BindGetSimilarityScore(connection, _logger);
public Task<IDbConnection> Connect(string dbPath)
return SqliteExtensions.ConnectToDb(dbPath, _logger);
@ -16,11 +16,6 @@ namespace MediaBrowser.ServerApplication.Native
public async Task<IDbConnection> Connect(string dbPath)
try