75 references to SqlBoolean
System.Data.Common (75)
System\Data\Common\SQLConvert.cs (1)
571return new SqlBoolean(XmlConvert.ToBoolean((string)value));
System\Data\SQLTypes\SQLBinary.cs (5)
212return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.EQ); 233return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.LT); 244return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.GT); 256return new SqlBoolean(cmpResult == EComparison.LT || cmpResult == EComparison.EQ); 268return new SqlBoolean(cmpResult == EComparison.GT || cmpResult == EComparison.EQ);
System\Data\SQLTypes\SQLBoolean.cs (18)
102return new SqlBoolean(x); 197return new SqlBoolean(bool.Parse(s!)); 209return new SqlBoolean(bool.Parse(s)); 225return (x.IsNull || y.IsNull) ? Null : new SqlBoolean(x.m_value != y.m_value); 238return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 244return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 250return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 256return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 262return x.IsNull ? Null : new SqlBoolean(x.Value != 0.0); 268return x.IsNull ? Null : new SqlBoolean(x.Value != 0.0); 280return x.IsNull ? SqlBoolean.Null : new SqlBoolean(x._data1 != 0 || x._data2 != 0 || 294return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 304return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 309return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 314return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 319return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value); 517public static readonly SqlBoolean True = new SqlBoolean(true); 522public static readonly SqlBoolean False = new SqlBoolean(false);
System\Data\SQLTypes\SQLByte.cs (5)
268return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 278return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 283return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 288return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 293return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
System\Data\SQLTypes\SQLDateTime.cs (5)
507return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_day == y.m_day && x.m_time == y.m_time); 518new SqlBoolean(x.m_day < y.m_day || (x.m_day == y.m_day && x.m_time < y.m_time)); 524new SqlBoolean(x.m_day > y.m_day || (x.m_day == y.m_day && x.m_time > y.m_time)); 530new SqlBoolean(x.m_day < y.m_day || (x.m_day == y.m_day && x.m_time <= y.m_time)); 536new SqlBoolean(x.m_day > y.m_day || (x.m_day == y.m_day && x.m_time >= y.m_time));
System\Data\SQLTypes\SQLDecimal.cs (5)
2865return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.EQ); 2875return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.LT); 2880return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.GT); 2890return new SqlBoolean(result == EComparison.LT || result == EComparison.EQ); 2901return new SqlBoolean(result == EComparison.GT || result == EComparison.EQ);
System\Data\SQLTypes\SQLDouble.cs (5)
222return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 232return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 237return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 242return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 247return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
System\Data\SQLTypes\SQLGuid.cs (5)
163new SqlBoolean(x._value.GetValueOrDefault() == y._value.GetValueOrDefault()); 173return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.LT); 178return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.GT); 187return new SqlBoolean(cmp == EComparison.LT || cmp == EComparison.EQ); 196return new SqlBoolean(cmp == EComparison.GT || cmp == EComparison.EQ);
System\Data\SQLTypes\SQLInt16.cs (5)
272return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 282return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 287return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 292return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 297return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
System\Data\SQLTypes\SQLInt32.cs (5)
287return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 297return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 302return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 307return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 312return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
System\Data\SQLTypes\SQLInt64.cs (5)
346return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 356return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 361return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 366return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 371return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
System\Data\SQLTypes\SQLMoney.cs (5)
374return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value); 384return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value < y._value); 389return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value > y._value); 394return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value <= y._value); 399return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value >= y._value);
System\Data\SQLTypes\SQLSingle.cs (5)
231return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value); 241return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value < y._value); 246return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value > y._value); 251return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value <= y._value); 256return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value >= y._value);
System\Data\SQLTypes\SQLString.cs (1)
446return new SqlBoolean(fResult);