35 references to IsObjectSqlNull
System.Data (35)
fx\src\data\System\Data\Common\DataStorage.cs (1)
472
return ((null == value) || (DBNull.Value == value) ||
IsObjectSqlNull
(value));
fx\src\data\System\Data\DataColumn.cs (2)
703
defaultValueIsNull = ((newDefaultValue == DBNull.Value) || (this.ImplementsINullable && DataStorage.
IsObjectSqlNull
(newDefaultValue))) ? true : false;
1495
clone.defaultValueIsNull = ((defaultValue == DBNull.Value) || (clone.ImplementsINullable && DataStorage.
IsObjectSqlNull
(defaultValue))) ? true : false;
fx\src\data\System\Data\Filter\BinaryNode.cs (25)
263
if (leftIsSqlType && DataStorage.
IsObjectSqlNull
(vLeft)) {
266
else if (rightIsSqlType && DataStorage.
IsObjectSqlNull
(vRight)) {
617
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
618
(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
623
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
624
(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
629
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
630
(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
635
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)) ||
636
(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
641
if (((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))) ||
642
((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight))))
647
if (((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))) ||
648
((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight))))
654
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))){
661
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft))){
674
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
696
if ((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight )))
722
if ((vLeft != DBNull.Value) && (!DataStorage.
IsObjectSqlNull
(vLeft))) {
736
if ((vRight == DBNull.Value)||(DataStorage.
IsObjectSqlNull
(vRight)))
739
if ((vLeft == DBNull.Value)||(DataStorage.
IsObjectSqlNull
(vLeft)))
826
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
839
if ((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
1225
if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
1235
if (vRight == DBNull.Value || DataStorage.
IsObjectSqlNull
(vRight))
fx\src\data\System\Data\Select.cs (2)
549
if ((vLeft == DBNull.Value)||(expr.left.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vLeft)))
551
if ((vRight == DBNull.Value)||(expr.right.IsSqlColumn && DataStorage.
IsObjectSqlNull
(vRight)))
fx\src\data\System\Data\xmlsaver.cs (5)
2250
if ((columnValue != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(columnValue))){
2572
if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value))){
2585
if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value))){
2600
if (((value == DBNull.Value) || (col.ImplementsINullable && DataStorage.
IsObjectSqlNull
(value))) && (col.ColumnMapping == MappingType.SimpleContent))
2604
if (((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.
IsObjectSqlNull
(value)))&&(col.columnMapping != MappingType.Attribute)){