Skip to content

Commit

Permalink
Fixed RetrievalProvider constructor so that it's public
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuck committed Jun 30, 2021
1 parent 164497f commit 65ebc47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YuckQi.Data.Sql.Dapper/Providers/RetrievalProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ namespace YuckQi.Data.Sql.Dapper.Providers
{
#region Private Members

private readonly ISqlGenerator<TDataParameter> _sqlGenerator;
private readonly ISqlGenerator<TRecord, TDataParameter> _sqlGenerator;

#endregion


#region Constructors

protected RetrievalProvider(IUnitOfWork context, ISqlGenerator<TDataParameter> sqlGenerator) : base(context)
public RetrievalProvider(IUnitOfWork context, ISqlGenerator<TRecord, TDataParameter> sqlGenerator) : base(context)
{
_sqlGenerator = sqlGenerator ?? throw new ArgumentNullException(nameof(sqlGenerator));
}
Expand Down

0 comments on commit 65ebc47

Please sign in to comment.