11 references to DBConvert
System.Data.Linq (11)
ChangeDirector.cs (1)
305
accessor.SetBoxedValue(ref current,
DBConvert
.ChangeType(value, mm.Type));
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\QueryConverter.cs (1)
1885
else if (declType == typeof(
DBConvert
) || declType == typeof(Convert)) {
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\Reader\ObjectReaderCompiler.cs (2)
72
yield return
DBConvert
.ChangeType<TOutput>(value);
1784
MethodInfo miChangeType = typeof(
DBConvert
).GetMethod("ChangeType", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(object), typeof(Type) }, null);
SqlClient\SqlProvider.cs (1)
1856
return
DBConvert
.ChangeType(parameterValue, pi.Parameter.ClrType);
SqlClient\SqlTypeSystemProvider.cs (1)
1046
return
DBConvert
.ChangeType(value, pType);