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