mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Swap to dapper with lazyload
This commit is contained in:
@@ -20,7 +20,7 @@ namespace NzbDrone.Core.Jobs
|
||||
|
||||
public ScheduledTask GetDefinition(Type type)
|
||||
{
|
||||
return Query.Where(c => c.TypeName == type.FullName).Single();
|
||||
return Query(c => c.TypeName == type.FullName).Single();
|
||||
}
|
||||
|
||||
public void SetLastExecutionTime(int id, DateTime executionTime, DateTime startTime)
|
||||
|
||||
Reference in New Issue
Block a user