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