35 references to IsObjectSqlNull
System.Data.Common (35)
System\Data\Common\DataStorage.cs (1)
530
return ((null == value) || (DBNull.Value == value) ||
IsObjectSqlNull
(value));
System\Data\DataColumn.cs (2)
695
_defaultValueIsNull = ((newDefaultValue == DBNull.Value) || (ImplementsINullable && DataStorage.
IsObjectSqlNull
(newDefaultValue))) ? true : false;
1538
clone._defaultValueIsNull = ((_defaultValue == DBNull.Value) || (clone.ImplementsINullable && DataStorage.
IsObjectSqlNull
(_defaultValue))) ? true : false;
System\Data\Filter\BinaryNode.cs (25)
311
if (leftIsSqlType && DataStorage.
IsObjectSqlNull
(vLeft))
315
else if (rightIsSqlType && DataStorage.
IsObjectSqlNull
(vRight))
862
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
863
(vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
868
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
869
(vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
874
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
875
(vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
880
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
881
(vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
886
if (((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))) ||
887
((vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight))))
892
if (((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))) ||
893
((vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight))))
899
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
907
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
921
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
948
if ((vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
977
if ((vLeft != DBNull.Value) && (!DataStorage.
IsObjectSqlNull
(vLeft)))
994
if ((vRight == DBNull.Value) || (DataStorage.
IsObjectSqlNull
(vRight)))
997
if ((vLeft == DBNull.Value) || (DataStorage.
IsObjectSqlNull
(vLeft)))
1095
if ((vLeft == DBNull.Value) || (left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
1108
if ((vRight == DBNull.Value) || (right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
1536
if ((vLeft == DBNull.Value) || (_left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
1548
if (vRight == DBNull.Value || DataStorage.
IsObjectSqlNull
(vRight))
System\Data\Select.cs (2)
657
if ((vLeft == DBNull.Value) || (expr._left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
659
if ((vRight == DBNull.Value) || (expr._right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
System\Data\xmlsaver.cs (5)
2602
if ((columnValue != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(columnValue)))
2978
if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value)))
2992
if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value)))
3008
if (((value == DBNull.Value) || (col.ImplementsINullable && DataStorage.
IsObjectSqlNull
(value))) && (col.ColumnMapping == MappingType.SimpleContent))
3012
if (((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value))) && (col._columnMapping != MappingType.Attribute))