13 references to ChangeType2
System.Data (13)
fx\src\data\System\Data\Common\SQLConvert.cs (1)
426
return
ChangeType2
(value, DataStorage.GetStorageType(type), type, formatProvider);
fx\src\data\System\Data\DataColumn.cs (1)
1882
System.Int64 v = (Int64)SqlConvert.
ChangeType2
(value, StorageType.Int64, typeof(Int64), CultureInfo.InvariantCulture);
fx\src\data\System\Data\Filter\BinaryNode.cs (1)
1237
string rightStr = (string) SqlConvert.
ChangeType2
(vRight, StorageType.String, typeof(string), FormatProvider);
fx\src\data\System\Data\Filter\DataExpression.cs (1)
119
result = SqlConvert.
ChangeType2
(result, _storageType, _dataType, table.FormatProvider);
fx\src\data\System\Data\Filter\FunctionNode.cs (8)
438
return SqlConvert.
ChangeType2
((Single) SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Single, typeof(Single), FormatProvider), mytype, type, FormatProvider);
441
return SqlConvert.
ChangeType2
((double) SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Double, typeof(Double), FormatProvider), mytype, type, FormatProvider);
444
return SqlConvert.
ChangeType2
((decimal) SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Decimal, typeof(Decimal), FormatProvider), mytype, type, FormatProvider);
446
return SqlConvert.
ChangeType2
(argumentValues[0], mytype, type, FormatProvider);
449
return SqlConvert.
ChangeType2
(argumentValues[0], mytype, type, FormatProvider);
fx\src\data\System\Data\Select.cs (1)
559
vRight = SqlConvert.
ChangeType2
(vRight, StorageType.Char, typeof(char), table.FormatProvider);