76 references to Columns
System.Data.Linq (76)
SqlClient\Common\SqlVisitor.cs (3)
349
for (int i = 0, n = row.
Columns
.Count; i < n; i++) {
350
row.
Columns
[i].Expression = this.VisitExpression(row.
Columns
[i].Expression);
SqlClient\Query\ContainsRowNumberChecker.cs (5)
19
foreach (SqlColumn column in row.
Columns
) {
58
for (int i = 0, n = row.
Columns
.Count; i < n; i++) {
59
row.
Columns
[i].Expression = this.VisitExpression(row.
Columns
[i].Expression);
61
this.CurrentColumn = row.
Columns
[i];
SqlClient\Query\LongTypeConverter.cs (1)
61
foreach (SqlColumn col in row.
Columns
) {
SqlClient\Query\QueryConverter.cs (2)
1075
select.Row.
Columns
.Add(rowNumber);
1718
info.SelectWithGroup.Row.
Columns
.Add(c);
SqlClient\Query\SqlAliaser.cs (1)
33
foreach (SqlColumn c in row.
Columns
) {
SqlClient\Query\SqlDeflator.cs (7)
139
for (int i = select.Row.
Columns
.Count - 1; i >= 0; i--) {
140
SqlColumn c = select.Row.
Columns
[i];
151
select.Row.
Columns
.RemoveAt(i);
361
foreach (SqlColumn c in select.Row.
Columns
) {
375
return sel.Row.
Columns
.Count == 0 &&
446
foreach (SqlColumn c in select.Row.
Columns
) {
480
foreach (SqlColumn c in select.Row.
Columns
) {
SqlClient\Query\SqlDuplicator.cs (2)
197
foreach (SqlColumn c in row.
Columns
) {
198
nrow.
Columns
.Add((SqlColumn)this.Visit(c));
SqlClient\Query\SqlFlattener.cs (6)
104
SqlColumn c = this.FindColumn(this.row.
Columns
, col);
106
c = this.FindColumnWithExpression(this.row.
Columns
, col.Expression);
109
this.row.
Columns
.Add(col);
123
SqlColumn c = this.FindColumn(this.row.
Columns
, cref.Column);
142
SqlColumn c = (!this.isInput) ? this.FindColumnWithExpression(this.row.
Columns
, expr) : null;
145
this.row.
Columns
.Add(c);
SqlClient\Query\SqlFormatter.cs (11)
675
for (int i = 0, n = row.
Columns
.Count; i < n; i++) {
676
SqlColumn c = row.
Columns
[i];
796
if (ss.Row.
Columns
.Count > 0) {
1005
if (si.Row.
Columns
.Count != 0) {
1008
for (int i = 0, n = si.Row.
Columns
.Count; i < n; i++) {
1010
this.WriteName(si.Row.
Columns
[i].Name);
1022
if (si.Row.
Columns
.Count == 0) {
1029
if (this.isDebugMode && si.Row.
Columns
.Count == 0) {
1032
for (int i = 0, n = si.Row.
Columns
.Count; i < n; i++) {
1034
this.Visit( si.Row.
Columns
[i].Expression);
1456
foreach(SqlColumn col in row.
Columns
) {
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (4)
57
foreach (SqlColumn sc in select.Row.
Columns
) {
66
select.Row.
Columns
.Clear();
67
select.Row.
Columns
.AddRange(keep);
111
ns.Row.
Columns
.AddRange(cols);
SqlClient\Query\SqlNamer.cs (8)
47
if (ss.Select.Row.
Columns
.Count > 0) {
48
System.Diagnostics.Debug.Assert(ss != null && ss.Select != null && ss.Select.Row != null && ss.Select.Row.
Columns
.Count == 1);
50
ss.Select.Row.
Columns
[0].Name = "";
80
string[] names = new string[select.Row.
Columns
.Count];
82
SqlColumn c = select.Row.
Columns
[i];
93
for (int i = 0, n = select.Row.
Columns
.Count; i < n; i++) {
94
SqlColumn c = select.Row.
Columns
[i];
99
while (!this.IsUniqueName(select.Row.
Columns
, reservedNames, c, name)) {
SqlClient\Query\SqlOuterApplyReducer.cs (5)
151
ns.Row.
Columns
.AddRange(cols);
189
selections.Add(select.Row.
Columns
);
438
foreach (SqlColumn sc in select.Row.
Columns
) {
484
select.Row.
Columns
.Clear();
486
select.Row.
Columns
.AddRange(keep);
SqlClient\Query\SqlReorderer.cs (3)
190
select.Row.
Columns
.Remove(rowNumberChecker.RowNumberColumn);
265
select.Row.
Columns
.Add(column);
281
foreach (SqlColumn c in select.Row.
Columns
) {
SqlClient\Query\SqlResolver.cs (3)
188
foreach (SqlColumn c in row.
Columns
) {
246
foreach (SqlColumn c in row.
Columns
) {
256
row.
Columns
.Add(c);
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
39
return new SqlColumnRef(innerSelect.Row.
Columns
[0]);
SqlClient\Query\SqlSupersetValidator.cs (3)
37
for (int i = 0, n = row.
Columns
.Count; i < n; i++) {
38
SqlColumn col = row.
Columns
[i];
107
foreach (SqlColumn c in row.
Columns
) {
SqlClient\Query\SqlUnionizer.cs (11)
23
for (int i = 0, n = sleft.Row.
Columns
.Count; i < n; i++) {
24
sleft.Row.
Columns
[i].Ordinal = select.Row.
Columns
.Count + i;
26
for (int i = 0, n = sright.Row.
Columns
.Count; i < n; i++) {
27
sright.Row.
Columns
[i].Ordinal = select.Row.
Columns
.Count + i;
30
for (int i = 0, n = select.Row.
Columns
.Count; i < n; i++) {
31
SqlExprSet es = select.Row.
Columns
[i].Expression as SqlExprSet;
35
if (cr != null && e >= select.Row.
Columns
.Count) {
43
sleft.Row.
Columns
.Sort(comp);
44
sright.Row.
Columns
.Sort(comp);