14 references to ValueFromObject
System.Data.Linq (14)
SqlClient\Query\QueryConverter.cs (1)
1800
return sql.
ValueFromObject
(false, this.dominatingExpression);
SqlClient\Query\SqlMethodCallConverter.cs (8)
1003
sql.
ValueFromObject
(Activator.CreateInstance(clrType), mc.SourceExpression));
1611
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
1612
SqlWhen when = new SqlWhen(lenZeroExpr, sql.
ValueFromObject
(0, source));
1630
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
1653
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
1697
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
1732
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
1770
SqlExpression lenZeroExpr = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.Arguments[0]), sql.
ValueFromObject
(0, source));
SqlClient\Query\SqlMethodTransformer.cs (2)
32
result = sql.ConvertToInt(sql.Divide(result, sql.
ValueFromObject
(2, expr.SourceExpression)));
65
result = sql.Divide(result, sql.
ValueFromObject
(2, expr.SourceExpression));
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
34
innerSelect.Top = this.sql.
ValueFromObject
(1, ss.SourceExpression);
SqlClient\Query\Translator.cs (2)
335
return sql.Binary(SqlNodeType.EQ, sql.
ValueFromObject
(0,expr.SourceExpression), sql.
ValueFromObject
(1,expr.SourceExpression));