11 references to DBConvert
System.Data.Linq (11)
ChangeDirector.cs (1)
305accessor.SetBoxedValue(ref current, DBConvert.ChangeType(value, mm.Type));
Mapping\AttributedMetaModel.cs (1)
424object codeValue = DBConvert.ChangeType(attr.Code, this.Discriminator.Type);
Mapping\MappedMetaModel.cs (1)
507object keyValue = DBConvert.ChangeType(typeMap.InheritanceCode, this.Discriminator.Type);
SqlClient\Query\QueryConverter.cs (1)
1885else if (declType == typeof(DBConvert) || declType == typeof(Convert)) {
SqlClient\Query\SqlBinder.cs (1)
591return sql.Value(uo.ClrType, uo.SqlType, DBConvert.ChangeType(val.Value, uo.ClrType), val.IsClientSpecified, val.SourceExpression);
SqlClient\Query\SqlRetyper.cs (2)
231DBConvert.ChangeType(val.Value, arg1.ClrType), 316clrValue = DBConvert.ChangeType(clrValue, expression.ClrType);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
72yield return DBConvert.ChangeType<TOutput>(value); 1784MethodInfo miChangeType = typeof(DBConvert).GetMethod("ChangeType", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(object), typeof(Type) }, null);
SqlClient\SqlProvider.cs (1)
1856return DBConvert.ChangeType(parameterValue, pi.Parameter.ClrType);
SqlClient\SqlTypeSystemProvider.cs (1)
1046return DBConvert.ChangeType(value, pType);