14 references to Treat
System.Data.Linq (14)
SqlClient\Common\SqlNode.cs (1)
912
case SqlNodeType.
Treat
:
SqlClient\Common\SqlVisitor.cs (1)
79
case SqlNodeType.
Treat
:
SqlClient\Query\QueryConverter.cs (7)
578
select.Selection = new SqlUnary(SqlNodeType.
Treat
, ofType, typeProvider.From(ofType), aref, this.dominatingExpression);
620
result = sql.Unary(SqlNodeType.IsNotNull, new SqlUnary(SqlNodeType.
Treat
, ofType, typeProvider.From(ofType), expr, this.dominatingExpression), this.dominatingExpression);
640
return new SqlUnary(SqlNodeType.
Treat
, a.Type, typeProvider.From(a.Type), expr, a);
645
return new SqlUnary(SqlNodeType.
Treat
, a.Type, typeProvider.From(a.Type), ms, a);
734
return new SqlUnary(SqlNodeType.
Treat
, type, typeProvider.From(type), expr, expr.SourceExpression);
1288
result = sql.Unary(SqlNodeType.
Treat
, exp, this.dominatingExpression);
2793
case SqlNodeType.
Treat
:
SqlClient\Query\SimpleExpression.cs (1)
71
case SqlNodeType.
Treat
:
SqlClient\Query\SqlBinder.cs (1)
654
else if (uo.NodeType == SqlNodeType.
Treat
) {
SqlClient\Query\SqlComparer.cs (1)
94
case SqlNodeType.
Treat
: {
SqlClient\Query\SqlDuplicator.cs (1)
291
return new SqlUnary(SqlNodeType.
Treat
, t.ClrType, t.SqlType, (SqlExpression)this.Visit(t.Operand), t.SourceExpression);
SqlClient\SqlTypeSystemProvider.cs (1)
1062
case SqlNodeType.
Treat
: