Skip to content

Commit

Permalink
missed an object? type-handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Sep 14, 2023
1 parent 3c4ae7d commit 47ef1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dapper/DataTableHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ namespace Dapper
{
internal sealed class DataTableHandler : SqlMapper.ITypeHandler
{
public object Parse(Type destinationType, object? value)
public object Parse(Type destinationType, object value)
{
throw new NotImplementedException();
}

public void SetValue(IDbDataParameter parameter, object? value)
public void SetValue(IDbDataParameter parameter, object value)
{
TableValuedParameter.Set(parameter, value as DataTable, null);
}
Expand Down

0 comments on commit 47ef1e7

Please sign in to comment.