Skip to content

Commit

Permalink
use extension method syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahi committed Jul 16, 2020
1 parent 1c8cf3f commit 6d6f68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Src/Data/DatabaseExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static DataAccessor<TResult> CreateSprocAccessor<TResult>(this Database d
{
IRowMapper<TResult> defaultRowMapper = MapBuilder<TResult>.BuildAllProperties();

return CreateSprocAccessor(database, procedureName, defaultRowMapper);
return database.CreateSprocAccessor(procedureName, defaultRowMapper);
}

/// <summary>
Expand Down

0 comments on commit 6d6f68f

Please sign in to comment.