6 types derived from ProjectedSlot
System.Data.Entity (6)
System\Data\Mapping\ViewGeneration\CqlGeneration\AliasedSlot.cs (1)
24
internal sealed class QualifiedSlot :
ProjectedSlot
System\Data\Mapping\ViewGeneration\CqlGeneration\BooleanProjectedSlot.cs (1)
22
internal sealed class BooleanProjectedSlot :
ProjectedSlot
System\Data\Mapping\ViewGeneration\Structures\CaseStatementProjectedSlot.cs (1)
21
internal sealed class CaseStatementProjectedSlot :
ProjectedSlot
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (1)
22
internal sealed class ConstantProjectedSlot :
ProjectedSlot
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (1)
25
internal sealed class MemberProjectedSlot :
ProjectedSlot
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (1)
22
internal class ViewCellSlot :
ProjectedSlot
101 references to ProjectedSlot
System.Data.Entity (101)
System\Data\Mapping\ViewGeneration\CellCreator.cs (10)
208
List<
ProjectedSlot
> leftSlots = new List<
ProjectedSlot
>();
209
List<
ProjectedSlot
> rightSlots = new List<
ProjectedSlot
>();
325
List<
ProjectedSlot
> cSlots = new List<
ProjectedSlot
>();
336
List<
ProjectedSlot
> sSlots = new List<
ProjectedSlot
>();
364
MemberPath cNode, List<
ProjectedSlot
> cSlots,
367
List<
ProjectedSlot
> sSlots,
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (2)
515
ProjectedSlot
[] mergedSlots;
516
if (false ==
ProjectedSlot
.TryMergeRemapSlots(query1.ProjectedSlots, query2.ProjectedSlots, out mergedSlots))
System\Data\Mapping\ViewGeneration\CqlGeneration\AliasedSlot.cs (6)
30
internal QualifiedSlot(CqlBlock block,
ProjectedSlot
slot)
40
private readonly
ProjectedSlot
m_slot;
45
/// Creates new <see cref="
ProjectedSlot
"/> that is qualified with <paramref name="block"/>.CqlAlias.
49
internal override
ProjectedSlot
DeepQualify(CqlBlock block)
69
internal
ProjectedSlot
GetOriginalSlot()
71
ProjectedSlot
slot = m_slot;
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (1)
123
internal
ProjectedSlot
SlotValue(int slotNum)
System\Data\Mapping\ViewGeneration\CqlGeneration\SlotInfo.cs (4)
30
internal SlotInfo(bool isRequiredByParent, bool isProjected,
ProjectedSlot
slotValue, MemberPath outputMember)
42
internal SlotInfo(bool isRequiredByParent, bool isProjected,
ProjectedSlot
slotValue, MemberPath outputMember, bool enforceNotNull)
69
private readonly
ProjectedSlot
m_slotValue;
109
internal
ProjectedSlot
SlotValue
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (2)
282
ProjectedSlot
slot = childBlock.SlotValue(slotNum);
360
ProjectedSlot
slot = clause.Value;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
360
ProjectedSlot
projectedSlot;
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (14)
55
private
ProjectedSlot
m_elseValue;
70
internal
ProjectedSlot
ElseValue
78
/// Recursively qualifies all <see cref="
ProjectedSlot
"/>s and returns a new deeply qualified <see cref="CaseStatement"/>.
101
internal void AddWhenThen(BoolExpression condition,
ProjectedSlot
value)
154
private bool TryGetInstantiatedType(
ProjectedSlot
slot, out EdmType type)
289
private static StringBuilder CaseSlotValueAsEsql(StringBuilder builder,
ProjectedSlot
slot, MemberPath outputMember, string blockAlias, IEnumerable<WithRelationship> withRelationships, int indentLevel)
299
private static void WithRelationshipsClauseAsEsql(StringBuilder builder, IEnumerable<WithRelationship> withRelationships, string blockAlias, int indentLevel,
ProjectedSlot
slot)
317
private static DbExpression CaseSlotValueAsCqt(DbExpression row,
ProjectedSlot
slot, MemberPath outputMember, IEnumerable<WithRelationship> withRelationships)
327
private static DbExpression WithRelationshipsClauseAsCqt(DbExpression row, DbExpression slotValueExpr, IEnumerable<WithRelationship> withRelationships,
ProjectedSlot
slot)
355
private static void WithRelationshipsClauseAsCql(Action<WithRelationship> emitWithRelationship, IEnumerable<WithRelationship> withRelationships,
ProjectedSlot
slot)
407
internal WhenThen(BoolExpression condition,
ProjectedSlot
value)
416
private readonly
ProjectedSlot
m_value;
431
internal
ProjectedSlot
Value
441
ProjectedSlot
newValue = m_value.DeepQualify(block);
System\Data\Mapping\ViewGeneration\Structures\CaseStatementProjectedSlot.cs (2)
44
/// Creates new <see cref="
ProjectedSlot
"/> that is qualified with <paramref name="block"/>.CqlAlias.
48
internal override
ProjectedSlot
DeepQualify(CqlBlock block)
System\Data\Mapping\ViewGeneration\Structures\Cell.cs (3)
135
ProjectedSlot
projectedSlot = CQuery.ProjectedSlotAt(fieldNum);
185
ProjectedSlot
cSlot = CQuery.ProjectedSlotAt(i);
186
ProjectedSlot
sSlot = SQuery.ProjectedSlotAt(i);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (16)
55
private
ProjectedSlot
[] m_projectedSlots;
71
internal CellQuery(List<
ProjectedSlot
> slots, BoolExpression whereClause, MemberPath rootMember, SelectDistinct eliminateDuplicates)
79
internal CellQuery(
ProjectedSlot
[] projectedSlots,
109
private CellQuery(CellQuery existing,
ProjectedSlot
[] newSlots) :
140
internal
ProjectedSlot
[] ProjectedSlots
194
internal
ProjectedSlot
ProjectedSlotAt(int slotNum)
210
KeyToListMap<MemberProjectedSlot, int> slotMap = new KeyToListMap<MemberProjectedSlot, int>(
ProjectedSlot
.EqualityComparer);
219
ProjectedSlot
projectedSlot = m_projectedSlots[i];
398
ProjectedSlot
[] mainSlots = new
ProjectedSlot
[numAlignedSlots];
399
ProjectedSlot
[] otherSlots = new
ProjectedSlot
[numAlignedSlots];
441
foreach (
ProjectedSlot
projectedSlot in m_projectedSlots)
532
foreach (
ProjectedSlot
slot in m_projectedSlots)
789
foreach (
ProjectedSlot
projectedSlot in m_projectedSlots)
895
foreach (
ProjectedSlot
ps in m_projectedSlots)
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (2)
57
internal override
ProjectedSlot
DeepQualify(CqlBlock block)
72
protected override bool IsEqualTo(
ProjectedSlot
right)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
141
ProjectedSlot
slot = cellQuery.ProjectedSlotAt(i);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
298
ProjectedSlot
slot = LeftCellQuery.ProjectedSlotAt(projectedPosition);
316
ProjectedSlot
slot = RightCellQuery.ProjectedSlotAt(projectedPosition);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (3)
104
protected override bool IsEqualTo(
ProjectedSlot
right)
166
MemberProjectedSlot slot = GetSlotForMember(Helpers.AsSuperTypeList<MemberProjectedSlot,
ProjectedSlot
>(slots), member);
179
internal static MemberProjectedSlot GetSlotForMember(IEnumerable<
ProjectedSlot
> slots, MemberPath member)
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (3)
482
ProjectedSlot
slot = null;
537
ProjectedSlot
slot = child.SlotValue(slotNum);
567
ProjectedSlot
childSlot = child.SlotValue(slotNum);
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (23)
23
internal abstract class ProjectedSlot : InternalBase, IEquatable<
ProjectedSlot
>
25
internal static readonly IEqualityComparer<
ProjectedSlot
> EqualityComparer = new Comparer();
31
protected virtual bool IsEqualTo(
ProjectedSlot
right)
41
public bool Equals(
ProjectedSlot
right)
48
ProjectedSlot
right = obj as
ProjectedSlot
;
62
/// Creates new <see cref="
ProjectedSlot
"/> that is qualified with <paramref name="block"/>.CqlAlias.
66
internal virtual
ProjectedSlot
DeepQualify(CqlBlock block)
99
internal static bool TryMergeRemapSlots(
ProjectedSlot
[] slots1,
ProjectedSlot
[] slots2, out
ProjectedSlot
[] result)
102
ProjectedSlot
[] mergedSlots;
117
private static bool TryMergeSlots(
ProjectedSlot
[] slots1,
ProjectedSlot
[] slots2, out
ProjectedSlot
[] slots)
120
slots = new
ProjectedSlot
[slots1.Length];
124
ProjectedSlot
slot1 = slots1[i];
125
ProjectedSlot
slot2 = slots2[i];
151
ProjectedSlot
pickedSlot = (memberSlot1 != null) ? slot1 : slot2;
164
private sealed class Comparer : IEqualityComparer<
ProjectedSlot
>
169
public bool Equals(
ProjectedSlot
left,
ProjectedSlot
right)
187
public int GetHashCode(
ProjectedSlot
key)
System\Data\Mapping\ViewGeneration\Validation\BasicKeyConstraint.cs (1)
26
: base(relation, keySlots,
ProjectedSlot
.EqualityComparer)
System\Data\Mapping\ViewGeneration\Validation\ViewCellRelation.cs (2)
69
if (
ProjectedSlot
.EqualityComparer.Equals(slot, viewSlot.CSlot) ||
70
ProjectedSlot
.EqualityComparer.Equals(slot, viewSlot.SSlot))
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (1)
63
protected override bool IsEqualTo(
ProjectedSlot
right)
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
28
base(relation, keySlots,
ProjectedSlot
.EqualityComparer)
69
if (
ProjectedSlot
.EqualityComparer.Equals(firstSlot.SSlot, secondSlot.SSlot))