Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
33 references to IsNull
System.Data.Common (33)
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
118
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (23)
181
if (!
IsNull
)
190
return
IsNull
? SQLResource.NullString : Value.ToString();
225
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlBoolean(x.m_value != y.m_value);
294
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value);
304
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value);
309
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value);
314
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value);
319
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
455
if (
IsNull
)
456
return value.
IsNull
? 0 : -1;
457
else if (value.
IsNull
)
473
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
477
public override int GetHashCode() =>
IsNull
? 0 : Value.GetHashCode();
498
if (
IsNull
)
System\Data\SQLTypes\SQLByte.cs (1)
180
return x.
IsNull
? Null : new SqlByte(x.ByteValue);
System\Data\SQLTypes\SQLDecimal.cs (1)
1743
return x.
IsNull
? Null : new SqlDecimal(x.ByteValue);
System\Data\SQLTypes\SQLDouble.cs (1)
162
return x.
IsNull
? Null : new SqlDouble(x.ByteValue);
System\Data\SQLTypes\SQLInt16.cs (1)
188
return x.
IsNull
? Null : new SqlInt16(x.ByteValue);
System\Data\SQLTypes\SQLInt32.cs (1)
191
return x.
IsNull
? Null : new SqlInt32(x.ByteValue);
System\Data\SQLTypes\SQLInt64.cs (1)
240
return x.
IsNull
? Null : new SqlInt64(x.ByteValue);
System\Data\SQLTypes\SQLMoney.cs (1)
313
return x.
IsNull
? Null : new SqlMoney(x.ByteValue);
System\Data\SQLTypes\SQLSingle.cs (1)
165
return x.
IsNull
? Null : new SqlSingle(x.ByteValue);
System\Data\SQLTypes\SQLString.cs (1)
460
return x.
IsNull
? Null : new SqlString((x.Value).ToString());