57 references to Column
System.Data.Linq (57)
SqlClient\Common\SqlNode.cs (4)
181
return ((SqlColumnRef)this).
Column
.IsConstantColumn;
1528
if (cref != null && cref.
Column
== this)
1561
return cref != null && cref.
Column
== this.column;
1571
c = ((SqlColumnRef)c.Expression).
Column
;
SqlClient\Common\SqlVisitor.cs (2)
625
return cref.
Column
== col || this.RefersToColumn(cref.
Column
.Expression, col);
SqlClient\Query\QueryConverter.cs (1)
2875
memberInfo = (((SqlColumnRef)expr).
Column
).MetaMember.Member;
SqlClient\Query\SqlAliasesReferenced.cs (2)
52
VisitAliasConsumed(cref.
Column
.Alias);
53
VisitExpression(cref.
Column
.Expression);
SqlClient\Query\SqlComparer.cs (3)
276
while (cref != null && cref.
Column
.Expression != null) {
277
SqlColumnRef cr = cref.
Column
.Expression as SqlColumnRef;
286
return cref.
Column
;
SqlClient\Query\SqlDeflator.cs (8)
68
expr = ((SqlColumnRef)expr).
Column
.Expression;
89
this.referenceMap[cref.
Column
] = cref.
Column
;
287
if (cref.
Column
.Alias != null && this.removedMap.ContainsKey(cref.
Column
.Alias)) {
288
SqlColumnRef c = cref.
Column
.Expression as SqlColumnRef;
451
cref.
Column
.Name = c.Name;
495
if (this.map.TryGetValue(cref.
Column
, out mapped)) {
SqlClient\Query\SqlDuplicator.cs (2)
151
if (this.ingoreExternalRefs && !this.nodeMap.ContainsKey(cref.
Column
)) {
154
return new SqlColumnRef((SqlColumn)this.Visit(cref.
Column
));
SqlClient\Query\SqlExpressionNullability.cs (1)
45
return CanBeNull(cref.
Column
);
SqlClient\Query\SqlFlattener.cs (2)
38
if (this.map.TryGetValue(cref.
Column
, out mapped)) {
123
SqlColumn c = this.FindColumn(this.row.Columns, cref.
Column
);
SqlClient\Query\SqlFormatter.cs (2)
388
SqlColumn c = cref.
Column
;
1222
return ((SqlColumnRef)exp).
Column
.Name;
SqlClient\Query\SqlGatherConsumedAliases.cs (1)
28
VisitAliasConsumed(cref.
Column
.Alias);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
79
expressionSink.ReferencedExpressions.Add(cref.
Column
);
SqlClient\Query\SqlNamer.cs (7)
137
return String.IsNullOrEmpty(name) || string.Compare(name, colRef.
Column
.Name, StringComparison.OrdinalIgnoreCase) == 0;
168
if (cref.
Column
.Name == null && this.lastName != null) {
169
cref.
Column
.Name = this.lastName;
237
if (cref.
Column
.Name != null) return cref.
Column
.Name;
238
return DiscoverName(cref.
Column
);
264
Visit(cref.
Column
);
SqlClient\Query\SqlOuterApplyReducer.cs (10)
221
if (!this.columns.Contains(cref.
Column
)) {
222
this.columns.Add(cref.
Column
);
223
if (cref.
Column
.Expression != null) {
224
this.Visit(cref.
Column
.Expression);
255
if (this.parent.aliases.Contains(cref.
Column
.Alias)) {
258
else if (cref.
Column
.Expression != null) {
259
this.Visit(cref.
Column
.Expression);
298
if (this.aliasesToCheck.Contains(cref.
Column
.Alias)) {
301
else if (cref.
Column
.Expression != null) {
302
this.Visit(cref.
Column
.Expression);
SqlClient\Query\SqlResolver.cs (4)
37
throw Error.ColumnReferencedIsNotInScope(GetColumnName(cref.
Column
));
45
SqlColumn found = this.bubbler.BubbleUp(cref.
Column
, s.Source);
47
if (found != cref.
Column
)
182
return this.GetOriginatingColumn(cref.
Column
);
SqlClient\Query\SqlUnionizer.cs (1)
36
cr.
Column
.Ordinal = i;
SqlClient\Query\TypeSource.cs (1)
128
this.VisitColumn(cref.
Column
); // Travel through column references
SqlClient\Reader\ObjectReaderCompiler.cs (5)
237
SqlColumn col = cref.
Column
;
501
return cref1.
Column
.Ordinal == cref2.
Column
.Ordinal;
1440
this.GenerateColumnAccess(clrType, cref.SqlType, cref.
Column
.Ordinal, null);
1798
this.GenerateColumnAccess(cref.ClrType, cref.SqlType, cref.
Column
.Ordinal, null);