Skip to content

Commit 6099e3b

Browse files
committed
Removed method signatures that were added unintentionally
There were methods on the interface that were added in error. It caused a side effect of ambigious method signatures when trying to use them.
1 parent 6ca1741 commit 6099e3b

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/DataAbstractions.Dapper/DataAccessor.Dapper.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ namespace DataAbstractions.Dapper
1010
//This partial class is reserved for the Dapper implementation
1111
public partial class DataAccessor
1212
{
13-
public IEnumerable<T> Query<T>(string sql, object param = null, SqlTransaction transaction = null, bool buffered = true) =>
14-
_connection.Query<T>(sql, param, transaction, buffered);
15-
16-
public IEnumerable<dynamic> Query(string sql, object param = null, SqlTransaction transaction = null, bool buffered = true) =>
17-
_connection.Query(sql, param, transaction, buffered);
18-
19-
public int Execute(string sql, object param = null, SqlTransaction transaction = null) =>
20-
_connection.Execute(sql, param, transaction);
21-
2213
public Task<IEnumerable<dynamic>> QueryAsync(string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null) =>
2314
_connection.QueryAsync(sql, param, transaction, commandTimeout, commandType);
2415

src/DataAbstractions.Dapper/IDataAccessor.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ public interface IDataAccessor : IDbConnection
1212
IDbConnection GetUnderlyingConnection();
1313

1414
//Dapper Methods
15-
IEnumerable<T> Query<T>(string sql, object param = null, SqlTransaction transaction = null, bool buffered = true);
16-
IEnumerable<dynamic> Query(string sql, object param = null, SqlTransaction transaction = null, bool buffered = true);
17-
int Execute(string sql, object param = null, SqlTransaction transaction = null);
1815
Task<IEnumerable<dynamic>> QueryAsync(string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null);
1916
Task<IEnumerable<dynamic>> QueryAsync(CommandDefinition command);
2017
Task<dynamic> QueryFirstAsync(CommandDefinition command);

0 commit comments

Comments
 (0)