79 references to SqlBoolean
System.Data (79)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
326return new SqlBoolean( GetBoolean_Unchecked( sink, getters, ordinal ) ); 1002result = new SqlBoolean( GetBoolean_Unchecked( sink, getters, ordinal ) );
fx\src\data\System\Data\Common\SQLConvert.cs (1)
626return new SqlBoolean(XmlConvert.ToBoolean((string)value));
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
448return new SqlBoolean(_value._boolean);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
509sqlVal = new SqlBoolean((bool)comVal);
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (5)
258return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.EQ); 281return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.LT); 293return new SqlBoolean(PerformCompareByte(x.Value, y.Value) == EComparison.GT); 306return new SqlBoolean(cmpResult == EComparison.LT || cmpResult == EComparison.EQ); 319return new SqlBoolean(cmpResult == EComparison.GT || cmpResult == EComparison.EQ);
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (18)
138return new SqlBoolean(x); 252return new SqlBoolean(Boolean.Parse(s)); 262return new SqlBoolean(Boolean.Parse(s)); 282return(x.IsNull || y.IsNull) ? Null : new SqlBoolean(x.m_value != y.m_value); 297return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 305return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 313return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 321return x.IsNull ? Null : new SqlBoolean(x.Value != 0); 329return x.IsNull ? Null : new SqlBoolean(x.Value != 0.0); 337return x.IsNull ? Null : new SqlBoolean(x.Value != 0.0); 353return x.IsNull ? SqlBoolean.Null : new SqlBoolean(x.m_data1 != 0 || x.m_data2 != 0 || 371return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 385return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 392return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 399return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 406return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value); 606public static readonly SqlBoolean True = new SqlBoolean(true); 614public static readonly SqlBoolean False = new SqlBoolean(false);
fx\src\data\System\Data\SQLTypes\SQLByte.cs (5)
342return(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); 363return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 370return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 377return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (5)
502return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_day == y.m_day && x.m_time == y.m_time); 511new SqlBoolean(x.m_day < y.m_day || (x.m_day == y.m_day && x.m_time < y.m_time)); 516new SqlBoolean(x.m_day > y.m_day || (x.m_day == y.m_day && x.m_time > y.m_time)); 521new SqlBoolean(x.m_day < y.m_day || (x.m_day == y.m_day && x.m_time <= y.m_time)); 526new SqlBoolean(x.m_day > y.m_day || (x.m_day == y.m_day && x.m_time >= y.m_time));
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (5)
2770return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.EQ); 2784return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.LT); 2791return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.CompareNm(y) == EComparison.GT); 2802return new SqlBoolean(result == EComparison.LT || result == EComparison.EQ); 2814return new SqlBoolean(result == EComparison.GT || result == EComparison.EQ);
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (5)
292return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 306return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 313return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 320return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 327return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (5)
208return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.EQ); 222return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.LT); 229return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.GT); 240return new SqlBoolean(cmp == EComparison.LT || cmp == EComparison.EQ); 251return new SqlBoolean(cmp == EComparison.GT || cmp == EComparison.EQ);
fx\src\data\System\Data\SQLTypes\SQLInt16.cs (5)
352return(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); 373return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 380return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 387return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (5)
364return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 378return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 385return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 392return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 399return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (5)
419return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 433return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 440return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 447return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 454return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (5)
432return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 446return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 453return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 460return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 467return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (5)
297return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 311return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 318return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 325return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 332return(x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
495return new SqlBoolean(fResult);