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