12 references to ChangeType2
System.Data.Common (12)
System\Data\Common\SQLConvert.cs (1)
360
return
ChangeType2
(value, DataStorage.GetStorageType(type), type, formatProvider);
System\Data\DataColumn.cs (1)
1965
long v = (long)SqlConvert.
ChangeType2
(value, StorageType.Int64, typeof(long), CultureInfo.InvariantCulture);
System\Data\Filter\BinaryNode.cs (1)
1550
string rightStr = (string)SqlConvert.
ChangeType2
(vRight, StorageType.String, typeof(string), FormatProvider);
System\Data\Filter\DataExpression.cs (1)
144
result = SqlConvert.
ChangeType2
(result, _storageType, _dataType!, _table!.FormatProvider);
System\Data\Filter\FunctionNode.cs (7)
507
return SqlConvert.
ChangeType2
((float)SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Single, typeof(float), FormatProvider), mytype, type, FormatProvider);
511
return SqlConvert.
ChangeType2
((double)SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Double, typeof(double), FormatProvider), mytype, type, FormatProvider);
515
return SqlConvert.
ChangeType2
((decimal)SqlConvert.
ChangeType2
(argumentValues[0], StorageType.Decimal, typeof(decimal), FormatProvider), mytype, type, FormatProvider);
526
return SqlConvert.
ChangeType2
(argumentValues[0], mytype, type, FormatProvider);
System\Data\Select.cs (1)
668
vRight = SqlConvert.
ChangeType2
(vRight, StorageType.Char, typeof(char), _table.FormatProvider);