15 references to SqlUnary
System.Data.Linq (15)
SqlClient\Query\QueryConverter.cs (6)
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);
1773
return new
SqlUnary
(aggType, clrType, sqlType, exp, this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (7)
215
return VisitUnaryOperator(new
SqlUnary
(negator, bo.ClrType, bo.SqlType, sql.DoNotVisitExpression(bo.Right), bo.SourceExpression));
224
return VisitUnaryOperator(new
SqlUnary
(negator, bo.ClrType, bo.SqlType, sql.DoNotVisitExpression(bo.Left), bo.SourceExpression));
549
new
SqlUnary
(uo.NodeType, uo.ClrType, uo.SqlType,
550
new
SqlUnary
(SqlNodeType.OuterJoinedValue, ov.ClrType, ov.SqlType, ov.HasValue, ov.SourceExpression)
556
return new
SqlUnary
(uo.NodeType, uo.ClrType, uo.SqlType,
557
new
SqlUnary
(SqlNodeType.OuterJoinedValue, tc.Discriminator.ClrType, tc.Discriminator.SqlType, tc.Discriminator, tc.SourceExpression),
638
SqlUnary un = new
SqlUnary
(uo.NodeType, uo.ClrType, uo.SqlType, when.TypeBinding, when.TypeBinding.SourceExpression);
SqlClient\Query\SqlBooleanizer.cs (1)
66
new SqlWhen(new
SqlUnary
(SqlNodeType.Not, predicateExpression.ClrType, predicateExpression.SqlType, predicateExpression, predicateExpression.SourceExpression), valueFalse)
SqlClient\Query\SqlDuplicator.cs (1)
291
return new
SqlUnary
(SqlNodeType.Treat, t.ClrType, t.SqlType, (SqlExpression)this.Visit(t.Operand), t.SourceExpression);