Cleaned up ModelBase, enable writing to sqlite

pull/4/head
Mark McDowall 12 years ago committed by kay.one
parent 70e6c3081b
commit aeebae33fd

@ -28,6 +28,7 @@ namespace NzbDrone.Core.Datastore
connectionString = GetConnectionString(dbPath);
}
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
var dbFactory = new OrmLiteConnectionFactory(connectionString);
return dbFactory.Open();
}

Loading…
Cancel
Save