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