20 references to Value
System.Data.Linq (20)
SqlClient\Common\SqlFactory.cs (3)
468return Value(type, this.typeProvider.From(value), value, true, source); 490return Value(clrType, sqlType, value, isClientSpecified, sourceExpression); 603this.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, source))
SqlClient\Query\QueryConverter.cs (2)
436sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.dominatingExpression) 552sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.dominatingExpression)
SqlClient\Query\SqlBinder.cs (8)
430SqlExpression @default = sql.Value(discriminator.GetType(), tc.Whens[0].Match.SqlType, defaultType.InheritanceCode, true, tc.SourceExpression); 435values.Add(sql.Value(discriminator.GetType(), when.Match.SqlType, ((SqlValue)when.Match).Value, true, tc.SourceExpression)); 572return sql.Value(typeof(bool), val.SqlType, !(bool)val.Value, val.IsClientSpecified, val.SourceExpression); 591return sql.Value(uo.ClrType, uo.SqlType, DBConvert.ChangeType(val.Value, uo.ClrType), val.IsClientSpecified, val.SourceExpression); 650return sql.Value(typeof(bool), this.typeProvider.From(typeof(int)), (val.Value == null) == (uo.NodeType == SqlNodeType.IsNull), val.IsClientSpecified, uo.SourceExpression); 916return sql.Value(m.ClrType, m.SqlType, null, val.IsClientSpecified, m.SourceExpression); 920return sql.Value(m.ClrType, m.SqlType, p.GetValue(val.Value, null), val.IsClientSpecified, m.SourceExpression); 924return sql.Value(m.ClrType, m.SqlType, f.GetValue(val.Value), val.IsClientSpecified, m.SourceExpression);
SqlClient\Query\SqlBooleanizer.cs (2)
43sql.Value(typeof(bool), valueExpression.SqlType, true, false, valueExpression.SourceExpression) 61SqlExpression valueNull = sql.Value(valueTrue.ClrType, valueTrue.SqlType, null, false, predicateExpression.SourceExpression);
SqlClient\Query\SqlReorderer.cs (1)
248sql.Value(typeof(int), this.typeProvider.From(typeof(int)), 1, false, rowNumber.SourceExpression)
SqlClient\Query\SqlRetyper.cs (2)
229arg2 = sql.Value( 319return sql.Value(expression.ClrType, newSqlType, clrValue, value.IsClientSpecified, value.SourceExpression);
SqlClient\Query\SqlTopReducer.cs (1)
33select.Top = sql.Value(val.ClrType, val.SqlType, val.Value, false, val.SourceExpression);
SqlClient\Query\Translator.cs (1)
65SqlExpression match = sql.Value(dt, sql.Default(discriminator), code, true, source);