4 instantiations of SqlTypeCaseWhen
System.Data.Linq (4)
SqlClient\Query\SqlDuplicator.cs (1)
116
whens.Add(new
SqlTypeCaseWhen
(VisitExpression(when.Match), VisitExpression(when.TypeBinding)));
SqlClient\Query\SqlExpander.cs (1)
192
whens.Add(new
SqlTypeCaseWhen
(tcs[0].Whens[i].Match, expanded));
SqlClient\Query\Translator.cs (2)
60
@else = new
SqlTypeCaseWhen
(null, defaultProjection);
66
whens.Add(new
SqlTypeCaseWhen
(match, defaultProjection));
26 references to SqlTypeCaseWhen
System.Data.Linq (26)
SqlClient\Common\SqlFactory.cs (1)
512
internal SqlExpression TypeCase(Type clrType, MetaType rowType, SqlExpression discriminator, IEnumerable<
SqlTypeCaseWhen
> whens, Expression sourceExpression) {
SqlClient\Common\SqlNode.cs (4)
1317
private List<
SqlTypeCaseWhen
> whens = new List<
SqlTypeCaseWhen
>();
1320
internal SqlTypeCase(Type clrType, ProviderType sqlType, MetaType rowType, SqlExpression discriminator, IEnumerable<
SqlTypeCaseWhen
> whens, Expression sourceExpression)
1343
internal List<
SqlTypeCaseWhen
> Whens {
SqlClient\Common\SqlVisitor.cs (1)
518
SqlTypeCaseWhen
when = tc.Whens[i];
SqlClient\Query\SqlBinder.cs (5)
427
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
498
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
637
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
766
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
1318
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
SqlClient\Query\SqlDuplicator.cs (3)
114
List<
SqlTypeCaseWhen
> whens = new List<
SqlTypeCaseWhen
>();
115
foreach(
SqlTypeCaseWhen
when in tc.Whens) {
SqlClient\Query\SqlExpander.cs (3)
184
List<
SqlTypeCaseWhen
> whens = new List<
SqlTypeCaseWhen
>();
188
SqlTypeCaseWhen
when = tcs[j].Whens[i];
SqlClient\Query\SqlFlattener.cs (1)
198
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
SqlClient\Query\SqlFormatter.cs (1)
1189
SqlTypeCaseWhen
when = c.Whens[i];
SqlClient\Query\SqlMethodCallConverter.cs (2)
679
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
688
SqlTypeCaseWhen
when = tc.Whens[i];
SqlClient\Query\Translator.cs (4)
48
List<
SqlTypeCaseWhen
> whens = new List<
SqlTypeCaseWhen
>();
49
SqlTypeCaseWhen
@else = null;
478
foreach (
SqlTypeCaseWhen
when in tc.Whens) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1950
SqlTypeCaseWhen
when = stc.Whens[i];