mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
removed code redundancies.
This commit is contained in:
parent
6d3a604677
commit
9a24268ee7
24 changed files with 104 additions and 185 deletions
|
@ -174,8 +174,7 @@ namespace Marr.Data
|
|||
{
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
throw new ArgumentNullException("sql", "A SQL query or stored procedure name is required");
|
||||
else
|
||||
Command.CommandText = sql;
|
||||
Command.CommandText = sql;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -197,8 +196,7 @@ namespace Marr.Data
|
|||
{
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
throw new ArgumentNullException("sql", "A SQL query or stored procedure name is required");
|
||||
else
|
||||
Command.CommandText = sql;
|
||||
Command.CommandText = sql;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -223,8 +221,7 @@ namespace Marr.Data
|
|||
{
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
throw new ArgumentNullException("sql", "A SQL query or stored procedure name is required");
|
||||
else
|
||||
Command.CommandText = sql;
|
||||
Command.CommandText = sql;
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue