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