33 references to String
System.Data.Common (33)
System\Data\Common\DataStorage.cs (3)
151
_isStringType = ((StorageType.
String
== _storageTypeCode) || (StorageType.SqlString == _storageTypeCode));
330
case StorageType.
String
: return new StringStorage(column);
451
case StorageType.
String
:
System\Data\Common\SQLConvert.cs (8)
306
StorageType.
String
=> (string)value,
431
if (StorageType.
String
== stype)
468
case StorageType.
String
:
496
StorageType.
String
=> XmlConvert.ToTimeSpan((string)value),
506
else if (StorageType.
String
== vtype)
510
case StorageType.
String
:
642
StorageType.
String
=> XmlConvert.ToTimeSpan((string)value),
718
case StorageType.
String
:
System\Data\Common\StringStorage.cs (1)
16
: base(column, typeof(string), string.Empty, StorageType.
String
)
System\Data\DataColumn.cs (1)
554
if (StorageType.
String
== typeCode)
System\Data\Filter\BinaryNode.cs (15)
197
case StorageType.
String
:
409
case StorageType.
String
:
1202
case StorageType.
String
: return DataTypePrecedence.String;
1244
case DataTypePrecedence.String: return StorageType.
String
;
1286
if ((left == StorageType.
String
) && (right == StorageType.Guid) && Operators.IsRelational(op))
1288
if ((left == StorageType.Guid) && (right == StorageType.
String
) && Operators.IsRelational(op))
1320
if ((op == Operators.Plus) && ((left == StorageType.
String
) || (right == StorageType.
String
)))
1321
return StorageType.
String
;
1329
if (result != StorageType.
String
&& result != StorageType.Char)
1399
if ((left == StorageType.
String
) || (right == StorageType.
String
))
1400
return StorageType.
String
;
1445
if (result != StorageType.
String
&& result != StorageType.Char && result != StorageType.SqlString)
1550
string rightStr = (string)SqlConvert.ChangeType2(vRight, StorageType.
String
, typeof(string), FormatProvider);
System\Data\Filter\FunctionNode.cs (3)
340
StorageType.
String
=> bool.Parse((string)argumentValues[0]),
492
if (storageType == StorageType.
String
)
500
if ((mytype == StorageType.Guid) && (storageType == StorageType.
String
))
System\Data\Select.cs (2)
692
((isLConst && !isRConst && (leftType == StorageType.
String
) && (rightType == StorageType.Guid) && (null != (namedNode = expr._right as NameNode)) && (namedNode._column!.DataType == typeof(Guid))) ||
693
(isRConst && !isLConst && (rightType == StorageType.
String
) && (leftType == StorageType.Guid) && (null != (namedNode = expr._left as NameNode)) && (namedNode._column!.DataType == typeof(Guid))))