Skip to content

Commit

Permalink
fixed bug in command construction
Browse files Browse the repository at this point in the history
  • Loading branch information
amirkhaniansev committed Nov 12, 2018
1 parent 1a4b961 commit ea3887a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AccessCore/AccessCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Authors>Sevak Amirkhanian</Authors>
<Company />
<PackageTags>ORM</PackageTags>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<AssemblyVersion>1.0.0.1</AssemblyVersion>
<FileVersion>1.0.0.1</FileVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/AccessCore/SpExecuters/SpExecuter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private object Execute<TResult>(StoredProcedure storedProcedure) where TResult :
// returning amount of affected rows after non-query stored procedure execution
sqlCommand.ExecuteNonQuery();

return sqlCommand.Parameters["ReturnParameter"].Value;
return sqlCommand.Parameters["ReturnValue"].Value;
}
}
}
Expand Down

0 comments on commit ea3887a

Please sign in to comment.