16 instantiations of SqlColumn
System.Data.Linq (16)
SqlClient\Common\SqlFactory.cs (1)
600
new
SqlColumn
(
SqlClient\Query\QueryConverter.cs (5)
432
new
SqlColumn
(
549
new
SqlColumn
(
1072
SqlColumn rowNumber = new
SqlColumn
("ROW_NUMBER", sql.RowNumber(new List<SqlOrderExpression>(), this.dominatingExpression));
1717
SqlColumn c = new
SqlColumn
(agg.ClrType, agg.SqlType, null, null, agg, this.dominatingExpression);
2434
sin.OutputKey = new
SqlColumn
(id.Type, sql.Default(id), id.Name, id, null, this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (3)
789
c = new
SqlColumn
(m.ClrType, sqlType, name, mm, null, m.SourceExpression);
804
c = new
SqlColumn
(m.ClrType, sqlType, name, mm, null, m.SourceExpression);
1096
expr = new
SqlColumn
(expr.ClrType, expr.SqlType, null, null, expr, expr.SourceExpression);
SqlClient\Query\SqlColumnizer.cs (1)
54
return new
SqlColumn
(expr.ClrType, expr.SqlType, null, null, expr, expr.SourceExpression);
SqlClient\Query\SqlDuplicator.cs (1)
144
SqlColumn n = new
SqlColumn
(col.ClrType, col.SqlType, col.Name, col.MetaMember, null, col.SourceExpression);
SqlClient\Query\SqlFlattener.cs (1)
144
c = new
SqlColumn
(expr.ClrType, expr.SqlType, name, null, expr, expr.SourceExpression);
SqlClient\Query\SqlReorderer.cs (2)
115
col = new
SqlColumn
(mm.MemberAccessor.Type, typeProvider.From(mm.MemberAccessor.Type), name, mm, null, sourceExpression);
246
new
SqlColumn
(
SqlClient\Query\SqlResolver.cs (1)
255
SqlColumn c = new
SqlColumn
(found.ClrType, found.SqlType, name, this.found.MetaMember, new SqlColumnRef(this.found), row.SourceExpression);
SqlClient\Reader\ObjectReaderCompiler.cs (1)
238
SqlColumn newcol = new
SqlColumn
(col.ClrType, col.SqlType, col.Name, col.MetaMember, null, col.SourceExpression);
194 references to SqlColumn
System.Data.Linq (194)
SqlClient\Common\SqlNode.cs (30)
175
SqlColumn
col = (
SqlColumn
)this;
382
private List<
SqlColumn
> columns;
389
this.columns = new List<
SqlColumn
>();
400
internal List<
SqlColumn
> Columns {
412
internal
SqlColumn
Find(string columnName) {
413
foreach (
SqlColumn
c in this.Columns) {
826
SqlColumn
col1 = SqlOrderExpression.UnwrapColumn(this.Expression);
827
SqlColumn
col2 = SqlOrderExpression.UnwrapColumn(other.Expression);
836
SqlColumn
col = SqlOrderExpression.UnwrapColumn(this.Expression);
843
private static
SqlColumn
UnwrapColumn(SqlExpression expr) {
851
SqlColumn
exprAsColumn = expr as
SqlColumn
;
1545
private
SqlColumn
column;
1546
internal SqlColumnRef(
SqlColumn
col)
1551
internal
SqlColumn
Column {
1568
internal
SqlColumn
GetRootColumn() {
1569
SqlColumn
c = this.column;
1578
private List<
SqlColumn
> columns;
1582
this.columns = new List<
SqlColumn
>();
1585
internal List<
SqlColumn
> Columns {
1589
internal
SqlColumn
Find(string name) {
1590
foreach (
SqlColumn
c in this.columns) {
1989
private
SqlColumn
outputKey;
2024
internal
SqlColumn
OutputKey {
2178
private List<
SqlColumn
> columns;
2183
this.columns = new List<
SqlColumn
>();
2190
internal List<
SqlColumn
> Columns {
2194
internal
SqlColumn
Find(string name) {
2195
foreach (
SqlColumn
c in this.Columns) {
SqlClient\Common\SqlVisitor.cs (4)
95
result = this.VisitColumn((
SqlColumn
)node);
390
internal virtual SqlExpression VisitColumn(
SqlColumn
col) {
613
internal bool RefersToColumn(SqlExpression exp,
SqlColumn
col) {
622
return exp == col || this.RefersToColumn(((
SqlColumn
)exp).Expression, col);
SqlClient\Query\ContainsRowNumberChecker.cs (3)
19
foreach (
SqlColumn
column in row.Columns) {
27
internal
SqlColumn
RowNumberColumn {
40
public
SqlColumn
CurrentColumn { private set; get; }
SqlClient\Query\LongTypeConverter.cs (1)
61
foreach (
SqlColumn
col in row.Columns) {
SqlClient\Query\QueryConverter.cs (3)
1072
SqlColumn
rowNumber = new SqlColumn("ROW_NUMBER", sql.RowNumber(new List<SqlOrderExpression>(), this.dominatingExpression));
1717
SqlColumn
c = new SqlColumn(agg.ClrType, agg.SqlType, null, null, agg, this.dominatingExpression);
2871
memberInfo = ((
SqlColumn
)expr).MetaMember.Member;
SqlClient\Query\SqlAliaser.cs (3)
33
foreach (
SqlColumn
c in row.Columns) {
39
foreach (
SqlColumn
c in tab.Columns) {
45
foreach (
SqlColumn
c in fc.Columns) {
SqlClient\Query\SqlAliasesReferenced.cs (1)
45
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlBinder.cs (4)
786
SqlColumn
c = tab.Find(name);
801
SqlColumn
c = fc.Find(name);
1218
SqlColumn
col = (
SqlColumn
)node;
SqlClient\Query\SqlComparer.cs (5)
113
SqlColumn
col1 = (
SqlColumn
)node1;
114
SqlColumn
col2 = (
SqlColumn
)node2;
275
private static
SqlColumn
GetBaseColumn(SqlColumnRef cref) {
SqlClient\Query\SqlDeflator.cs (17)
140
SqlColumn
c = select.Row.Columns[i];
196
Dictionary<
SqlColumn
,
SqlColumn
> map;
202
this.map = new Dictionary<
SqlColumn
,
SqlColumn
>();
214
SqlColumn
c1 = cr1.GetRootColumn();
215
SqlColumn
c2 = cr2.GetRootColumn();
216
SqlColumn
r;
254
SqlColumn
cLeft = crLeft.GetRootColumn();
255
SqlColumn
cRight = crRight.GetRootColumn();
361
foreach (
SqlColumn
c in select.Row.Columns) {
445
Dictionary<
SqlColumn
, SqlColumnRef> map = new Dictionary<
SqlColumn
, SqlColumnRef>();
446
foreach (
SqlColumn
c in select.Row.Columns) {
480
foreach (
SqlColumn
c in select.Row.Columns) {
489
Dictionary<
SqlColumn
, SqlColumnRef> map;
490
internal ColumnMapper(Dictionary<
SqlColumn
, SqlColumnRef> map) {
SqlClient\Query\SqlDuplicator.cs (9)
143
internal override SqlExpression VisitColumn(
SqlColumn
col) {
144
SqlColumn
n = new SqlColumn(col.ClrType, col.SqlType, col.Name, col.MetaMember, null, col.SourceExpression);
154
return new SqlColumnRef((
SqlColumn
)this.Visit(cref.Column));
197
foreach (
SqlColumn
c in row.Columns) {
198
nrow.Columns.Add((
SqlColumn
)this.Visit(c));
246
foreach (
SqlColumn
c in tab.Columns) {
247
nt.Columns.Add((
SqlColumn
)this.Visit(c));
400
foreach (
SqlColumn
c in fc.Columns) {
401
nfc.Columns.Add((
SqlColumn
)this.Visit(c));
SqlClient\Query\SqlExpander.cs (1)
42
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlExpressionNullability.cs (2)
34
SqlColumn
col = (
SqlColumn
)expr;
SqlClient\Query\SqlFlattener.cs (20)
27
Dictionary<
SqlColumn
,
SqlColumn
> map = new Dictionary<
SqlColumn
,
SqlColumn
>();
37
SqlColumn
mapped;
88
Dictionary<
SqlColumn
,
SqlColumn
> map;
92
internal SelectionFlattener(SqlRow row, Dictionary<
SqlColumn
,
SqlColumn
> map, bool isInput) {
103
internal override SqlExpression VisitColumn(
SqlColumn
col) {
104
SqlColumn
c = this.FindColumn(this.row.Columns, col);
123
SqlColumn
c = this.FindColumn(this.row.Columns, cref.Column);
142
SqlColumn
c = (!this.isInput) ? this.FindColumnWithExpression(this.row.Columns, expr) : null;
151
private
SqlColumn
FindColumn(IEnumerable<
SqlColumn
> columns,
SqlColumn
col) {
152
foreach (
SqlColumn
c in columns) {
160
private
SqlColumn
FindColumnWithExpression(IEnumerable<
SqlColumn
> columns, SqlExpression expr) {
161
foreach (
SqlColumn
c in columns) {
SqlClient\Query\SqlFormatter.cs (12)
54
internal Dictionary<
SqlColumn
, SqlAlias> aliasMap = new Dictionary<
SqlColumn
, SqlAlias>();
306
internal override SqlExpression VisitColumn(
SqlColumn
c) {
388
SqlColumn
c = cref.Column;
676
SqlColumn
c = row.Columns[i];
1220
return ((
SqlColumn
)exp).Name;
1434
Dictionary<
SqlColumn
, SqlAlias> aliasMap;
1437
internal AliasMapper(Dictionary<
SqlColumn
, SqlAlias> aliasMap) {
1449
internal override SqlExpression VisitColumn(
SqlColumn
col) {
1456
foreach(
SqlColumn
col in row.Columns) {
1463
foreach(
SqlColumn
col in tab.Columns) {
1470
foreach(
SqlColumn
col in fc.Columns) {
SqlClient\Query\SqlGatherConsumedAliases.cs (1)
22
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (11)
30
internal Stack<List<
SqlColumn
>> Lifted = new Stack<List<
SqlColumn
>>();
32
internal HashSet<
SqlColumn
> ReferencedExpressions = new HashSet<
SqlColumn
>();
54
List<
SqlColumn
> keep = new List<
SqlColumn
>();
55
List<
SqlColumn
> lift = new List<
SqlColumn
>();
57
foreach (
SqlColumn
sc in select.Row.Columns) {
100
foreach (List<
SqlColumn
> cols in expressionSink.Lifted) {
109
private SqlSource PushSourceDown(SqlSource sqlSource, List<
SqlColumn
> cols) {
SqlClient\Query\SqlMethodCallConverter.cs (1)
617
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlNamer.cs (8)
82
SqlColumn
c = select.Row.Columns[i];
94
SqlColumn
c = select.Row.Columns[i];
112
private bool IsUniqueName(List<
SqlColumn
> columns, ICollection<string> reservedNames,
SqlColumn
c, string name) {
113
foreach (
SqlColumn
sc in columns) {
132
private static bool IsSimpleColumn(
SqlColumn
c, string name) {
234
return DiscoverName(((
SqlColumn
)e).Expression);
255
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlOuterApplyReducer.cs (25)
42
List<List<
SqlColumn
>> liftedSelections = SqlSelectionLifter.Lift(join.Right, leftProducedAliases, liftedExpressions);
48
foreach(List<
SqlColumn
> selection in liftedSelections) {
90
List<List<
SqlColumn
>> liftedSelections = SqlSelectionLifter.Lift(leftOuter.Right, leftProducedAliases, liftedExpressions);
96
foreach(List<
SqlColumn
> selection in liftedSelections.Where(s => s.Count > 0)) {
117
List<List<
SqlColumn
>> liftedSelections = new List<List<
SqlColumn
>>();
123
foreach(List<
SqlColumn
> selection in liftedSelections) {
149
private SqlSource PushSourceDown(SqlSource sqlSource, List<
SqlColumn
> cols) {
180
private void GetSelectionsBeforeJoin(SqlSource source, List<List<
SqlColumn
>> selections) {
210
internal static HashSet<
SqlColumn
> Gather(SqlNode node, HashSet<
SqlColumn
> columns) {
216
HashSet<
SqlColumn
> columns;
217
internal Visitor(HashSet<
SqlColumn
> columns) {
264
internal override SqlExpression VisitColumn(
SqlColumn
col) {
306
internal override SqlExpression VisitColumn(
SqlColumn
col) {
390
internal static List<List<
SqlColumn
>> Lift(SqlSource source, HashSet<SqlAlias> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
398
HashSet<
SqlColumn
> referencedColumns;
400
internal List<List<
SqlColumn
>> lifted;
409
this.referencedColumns = new HashSet<
SqlColumn
>();
413
this.lifted = new List<List<
SqlColumn
>>();
436
List<
SqlColumn
> lift = null;
437
List<
SqlColumn
> keep = null;
438
foreach (
SqlColumn
sc in select.Row.Columns) {
451
lift = new List<
SqlColumn
>();
459
keep = new List<
SqlColumn
>();
SqlClient\Query\SqlReorderer.cs (12)
99
SqlColumn
col;
101
List<
SqlColumn
> columns;
235
List<
SqlColumn
> columns = SqlGatherColumnsProduced.GatherColumns(this.currentSelect.From);
237
foreach (
SqlColumn
col in columns) {
245
SqlColumn
col =
262
private void PushDown(
SqlColumn
column) {
270
static internal List<
SqlColumn
> GatherColumns(SqlSource source) {
271
List<
SqlColumn
> columns = new List<
SqlColumn
>();
276
List<
SqlColumn
> columns;
277
internal Visitor(List<
SqlColumn
> columns) {
281
foreach (
SqlColumn
c in select.Row.Columns) {
SqlClient\Query\SqlResolver.cs (13)
19
private static string GetColumnName(
SqlColumn
c) {
45
SqlColumn
found = this.bubbler.BubbleUp(cref.Column, s.Source);
166
SqlColumn
match;
167
SqlColumn
found;
172
internal
SqlColumn
BubbleUp(
SqlColumn
col, SqlNode source) {
179
internal
SqlColumn
GetOriginatingColumn(
SqlColumn
col) {
188
foreach (
SqlColumn
c in row.Columns) {
201
foreach (
SqlColumn
c in tab.Columns) {
232
foreach (
SqlColumn
c in fc.Columns) {
246
foreach (
SqlColumn
c in row.Columns) {
255
SqlColumn
c = new SqlColumn(found.ClrType, found.SqlType, name, this.found.MetaMember, new SqlColumnRef(this.found), row.SourceExpression);
SqlClient\Query\SqlRetyper.cs (1)
26
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlSupersetValidator.cs (4)
38
SqlColumn
col = row.Columns[i];
107
foreach (
SqlColumn
c in row.Columns) {
113
foreach (
SqlColumn
c in tab.Columns) {
118
internal override SqlExpression VisitColumn(
SqlColumn
col) {
SqlClient\Query\SqlUnionizer.cs (1)
42
Comparison<
SqlColumn
> comp = (x,y) => x.Ordinal - y.Ordinal;
SqlClient\Reader\ObjectReaderCompiler.cs (2)
237
SqlColumn
col = cref.Column;
238
SqlColumn
newcol = new SqlColumn(col.ClrType, col.SqlType, col.Name, col.MetaMember, null, col.SourceExpression);