Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Firebie committed Jun 1, 2011
1 parent 6342c33 commit f1976be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DataAccess/SqlQueryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public IDbDataParameter[] GetParameters(DbManager db, object obj)
var mmi = info.MemberMapper.MapMemberInfo;
var val = info.MemberMapper.GetValue(obj);

if (val == null && mmi.Nullable && mmi.NullValue == null)
if (val == null && mmi.Nullable/* && mmi.NullValue == null*/)
{
//replace value with DbNull
val = DBNull.Value;
Expand Down

0 comments on commit f1976be

Please sign in to comment.