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