Skip to content

Commit

Permalink
netfx
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari committed Aug 12, 2022
1 parent 27d3746 commit 7313dbf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,10 @@ internal SqlBinary SqlBinary
{
if (StorageType.SqlBinary == _type)
{
if (IsNull)
{
return SqlBinary.Null;
}
return (SqlBinary)_object;
}
return (SqlBinary)SqlValue; // anything else we haven't thought of goes through boxing.
Expand Down

0 comments on commit 7313dbf

Please sign in to comment.