Skip to content

Commit

Permalink
Linting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Riku Virtanen committed Sep 10, 2024
1 parent d4d9da6 commit 1aec1e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ public async Task TestExecuteQuery_NonQuery()
[TestMethod]
public async Task TestExecuteQuery_DBNullValues()
{


var options = new Options()
{
SqlTransactionIsolationLevel = SqlTransactionIsolationLevel.Default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static async Task<Result> ExecuteQuery([PropertyTab] Input input, [Proper
if (parameter.Value == null)
{
command.Parameters.AddWithValue(parameterName: parameter.Name, value: DBNull.Value);
}
}
else if (parameter.Value.GetType() == typeof(JValue))
{
if (((JToken)parameter.Value).Type == JTokenType.Null)
Expand Down

0 comments on commit 1aec1e2

Please sign in to comment.