mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
LINQ for paging missing episodes
This commit is contained in:
parent
a414a4663e
commit
d37c8c26c2
26 changed files with 318 additions and 57 deletions
|
@ -241,7 +241,7 @@ namespace Marr.Data.QGen
|
|||
string queryText = query.Generate();
|
||||
|
||||
_db.SqlMode = SqlModes.Text;
|
||||
int count = (int)_db.ExecuteScalar(queryText);
|
||||
int count = Convert.ToInt32(_db.ExecuteScalar(queryText));
|
||||
|
||||
_db.SqlMode = previousSqlMode;
|
||||
return count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue