2 instantiations of SqlTypeCase
System.Data.Linq (2)
SqlClient\Common\SqlFactory.cs (1)
513
return new
SqlTypeCase
(clrType, typeProvider.From(clrType), rowType, discriminator, whens, sourceExpression);
SqlClient\Query\SqlDuplicator.cs (1)
118
return new
SqlTypeCase
(tc.ClrType, tc.SqlType, tc.RowType, disc, whens, tc.SourceExpression);
42 references to SqlTypeCase
System.Data.Linq (42)
SqlClient\Common\SqlVisitor.cs (2)
176
result = this.VisitTypeCase((
SqlTypeCase
)node);
515
internal virtual SqlExpression VisitTypeCase(
SqlTypeCase
tc) {
SqlClient\Query\SqlBinder.cs (13)
416
SqlTypeCase
tc = (
SqlTypeCase
)obj;
495
SqlTypeCase
tc = (
SqlTypeCase
)target;
555
SqlTypeCase
tc = (
SqlTypeCase
)ojv.Operand;
634
SqlTypeCase
tc = (
SqlTypeCase
)uo.Operand;
762
SqlTypeCase
tc = (
SqlTypeCase
)exp;
894
SqlNodeType subType = (rexp is
SqlTypeCase
|| !rexp.SqlType.CanBeColumn) ? SqlNodeType.Element : SqlNodeType.ScalarSubSelect;
1316
SqlTypeCase
tc = (
SqlTypeCase
)node;
SqlClient\Query\SqlColumnizer.cs (1)
103
internal override SqlExpression VisitTypeCase(
SqlTypeCase
tc) {
SqlClient\Query\SqlComparer.cs (4)
128
SqlTypeCase
c1 = (
SqlTypeCase
)node1;
129
SqlTypeCase
c2 = (
SqlTypeCase
)node2;
SqlClient\Query\SqlDuplicator.cs (1)
112
internal override SqlExpression VisitTypeCase(
SqlTypeCase
tc) {
SqlClient\Query\SqlExpander.cs (4)
167
SqlTypeCase
[] tcs = new
SqlTypeCase
[exprs.Count];
168
tcs[0] = (
SqlTypeCase
)exprs[0];
170
tcs[i] = (
SqlTypeCase
)exprs[i];
SqlClient\Query\SqlFlattener.cs (2)
196
SqlTypeCase
tc = (
SqlTypeCase
)expr;
SqlClient\Query\SqlFormatter.cs (1)
1176
internal override SqlExpression VisitTypeCase(
SqlTypeCase
c) {
SqlClient\Query\SqlMethodCallConverter.cs (1)
674
internal override SqlExpression VisitTypeCase(
SqlTypeCase
tc) {
SqlClient\Query\SqlMultiplexer.cs (1)
172
internal override SqlExpression VisitTypeCase(
SqlTypeCase
tc) {
SqlClient\Query\Translator.cs (3)
313
eLeft = BestIdentityNode((
SqlTypeCase
)eLeft);
316
eRight = BestIdentityNode((
SqlTypeCase
)eRight);
477
private static SqlExpression BestIdentityNode(
SqlTypeCase
tc) {
SqlClient\Query\TypeSource.cs (1)
73
sourceType = ((
SqlTypeCase
)node).RowType.Type;
SqlClient\Reader\ObjectReaderCompiler.cs (8)
421
SqlTypeCase
c1 = (
SqlTypeCase
)node;
579
SqlTypeCase
c1 = (
SqlTypeCase
)node1;
580
SqlTypeCase
c2 = (
SqlTypeCase
)node2;
762
return this.GenerateTypeCase((
SqlTypeCase
)node);
1936
private Type GenerateTypeCase(
SqlTypeCase
stc) {