41 references to KeyExpressions
System.Data.Linq (41)
SqlClient\Common\SqlVisitor.cs (3)
365
for (int i = 0, n = link.
KeyExpressions
.Count; i < n; i++) {
366
link.
KeyExpressions
[i] = this.VisitExpression(link.
KeyExpressions
[i]);
SqlClient\Query\SqlComparer.cs (5)
222
if (l1.
KeyExpressions
.Count != l2.
KeyExpressions
.Count) {
225
for (int i = 0, c = l1.
KeyExpressions
.Count; i < c; ++i) {
226
if (!AreEqual(l1.
KeyExpressions
[i], l2.
KeyExpressions
[i])) {
SqlClient\Query\SqlDeflator.cs (3)
188
for (int i = 0, n = link.
KeyExpressions
.Count; i < n; i++) {
189
link.
KeyExpressions
[i] = this.VisitExpression(link.
KeyExpressions
[i]);
SqlClient\Query\SqlDuplicator.cs (2)
132
SqlExpression[] exprs = new SqlExpression[link.
KeyExpressions
.Count];
134
exprs[i] = this.VisitExpression(link.
KeyExpressions
[i]);
SqlClient\Query\SqlExpander.cs (8)
79
SqlExpression[] exprs = new SqlExpression[link.
KeyExpressions
.Count];
81
exprs[i] = this.VisitExpression(link.
KeyExpressions
[i]);
241
if (links[i].
KeyExpressions
.Count != links[0].
KeyExpressions
.Count ||
246
SqlExpression[] kexprs = new SqlExpression[links[0].
KeyExpressions
.Count];
248
for (int k = 0, nk = links[0].
KeyExpressions
.Count; k < nk; k++) {
251
lexprs.Add(links[i].
KeyExpressions
[k]);
255
links[i].
KeyExpressions
[k] = lexprs[i];
SqlClient\Query\SqlFlattener.cs (1)
208
foreach (SqlExpression key in link.
KeyExpressions
) {
SqlClient\Query\SqlFormatter.cs (2)
1367
for (int i = 0, n = link.
KeyExpressions
.Count; i < n; i++) {
1369
this.Visit(link.
KeyExpressions
[i]);
SqlClient\Query\SqlMultiplexer.cs (2)
254
SqlExpression[] exprs = new SqlExpression[link.
KeyExpressions
.Count];
256
exprs[i] = this.VisitExpression(link.
KeyExpressions
[i]);
SqlClient\Query\Translator.cs (5)
142
return this.TranslateLink(link, link.
KeyExpressions
, asExpression);
278
System.Diagnostics.Debug.Assert(link.
KeyExpressions
== keyExpressions);
343
exprs1 = link1.
KeyExpressions
;
351
exprs2 = link2.
KeyExpressions
;
454
List<SqlExpression> exprs = link.
KeyExpressions
;
SqlClient\Reader\ObjectReaderCompiler.cs (10)
369
for (int i = 0, c = l1.
KeyExpressions
.Count; i < c; ++i) {
370
if (!CanBeCompared(l1.
KeyExpressions
[i])) {
509
if (l1.
KeyExpressions
.Count != l2.
KeyExpressions
.Count) {
512
for (int i = 0, c = l1.
KeyExpressions
.Count; i < c; ++i) {
513
if (!AreSimilar(l1.
KeyExpressions
[i], l2.
KeyExpressions
[i])) {
1387
this.GenerateConstInt(link.
KeyExpressions
.Count);
1391
for (int i = 0, n = link.
KeyExpressions
.Count; i < n; i++) {
1394
this.GenerateExpressionForType(link.
KeyExpressions
[i], typeof(object));