11 references to ChangeType
System.Data.Linq (11)
ChangeDirector.cs (1)
305
accessor.SetBoxedValue(ref current, DBConvert.
ChangeType
(value, mm.Type));
DbConvert.cs (3)
20
return (T)
ChangeType
(value, typeof(T));
76
returnValue =
ChangeType
(formatter.Deserialize(stream), toType);
88
return
ChangeType
(formatter.Deserialize(stream), toType);
Mapping\AttributedMetaModel.cs (1)
424
object codeValue = DBConvert.
ChangeType
(attr.Code, this.Discriminator.Type);
Mapping\MappedMetaModel.cs (1)
507
object keyValue = DBConvert.
ChangeType
(typeMap.InheritanceCode, this.Discriminator.Type);
SqlClient\Query\SqlBinder.cs (1)
591
return sql.Value(uo.ClrType, uo.SqlType, DBConvert.
ChangeType
(val.Value, uo.ClrType), val.IsClientSpecified, val.SourceExpression);
SqlClient\Query\SqlRetyper.cs (2)
231
DBConvert.
ChangeType
(val.Value, arg1.ClrType),
316
clrValue = DBConvert.
ChangeType
(clrValue, expression.ClrType);
SqlClient\SqlProvider.cs (1)
1856
return DBConvert.
ChangeType
(parameterValue, pi.Parameter.ClrType);
SqlClient\SqlTypeSystemProvider.cs (1)
1046
return DBConvert.
ChangeType
(value, pType);