When selecting a LINQ expression, the "Introduce Variable" always defaults to "bool" as variable type and doesnt detect the correct type.
Seems to be true for all LINQ expressions. Strangely, when I select only part of an expression, it defaults to "var name" instead of "bool name".
return from b in dc.BatchParts where (b.ID == 1) select b;
Selecting the underlined part defaults to bool.
return from b in dc.BatchParts where (b.ID == 1) select b;
Selecting the underlined part here defaults to var.