removed sqo.

This commit is contained in:
kay.one 2013-03-23 21:16:00 -07:00
commit 1a4f3fad25
64 changed files with 292 additions and 1323 deletions

View file

@ -1,3 +1,4 @@
using System.Data;
using System.Linq;
using NzbDrone.Core.Datastore;
@ -11,15 +12,15 @@ namespace NzbDrone.Core.Configuration
public class ConfigRepository : BasicRepository<Config>, IConfigRepository
{
public ConfigRepository(IObjectDatabase objectDatabase)
: base(objectDatabase)
public ConfigRepository(IDbConnection database)
: base(database)
{
}
public Config Get(string key)
{
return Queryable.SingleOrDefault(c => c.Key == key);
return SingleOrDefault(c => c.Key == key);
}