14 instantiations of SlotInfo
System.Data.Entity (14)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (2)
312SlotInfo slotInfo = new SlotInfo(isRequiredByParent && isProjected, isProjected, slot, outputMember); 318slotInfos[i] = new SlotInfo(true, true, childAddedSlot, childBlock.MemberPath(i));
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (3)
153SlotInfo slotInfo = new SlotInfo(requiredSlots[i], slot != null, 172SlotInfo slotInfo = new SlotInfo(requiredSlots[slotIndex], expr != null, 241foreignKeySlots.Add(new SlotInfo(true, true, sSlot, endMemberKeyPath));
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (9)
248paddedSlotInfo[slotNum] = new SlotInfo(true /* is required */, true /* is projected */, 255paddedSlotInfo[slotNum] = new SlotInfo(true /* is required */, true /* is projected */, 283childSlots[index] = new SlotInfo(true /* is required */, true /* is projected */, slotInfo.SlotValue, slotInfo.OutputMember); 287childSlots[index] = new SlotInfo(true /* is required */, true /* is projected */, 310slotInfos[slotNum] = new SlotInfo(isRequired, isRequired, slotInfo.SlotValue, slotInfo.OutputMember); 316slotInfos[slotNum] = new SlotInfo(true, true, aslot.SlotValue, aslot.OutputMember); 376slotInfos[slotNum] = new SlotInfo(true, true, additionalChildSlots[i].Item1, additionalChildSlots[i].Item2); 426SlotInfo unrequiredSlotInfo = new SlotInfo(false, false, null, GetMemberPath(slotNum)); 517SlotInfo slotInfo = new SlotInfo(true, true, slot, memberPath, enforceNotNull);
47 references to SlotInfo
System.Data.Entity (47)
System\Data\Mapping\ViewGeneration\CqlGeneration\CaseCqlBlock.cs (2)
30internal CaseCqlBlock(SlotInfo[] slots, int caseSlot, CqlBlock child, BoolExpression whereClause, CqlIdentifiers identifiers, int blockAliasNum) 38private readonly SlotInfo m_caseSlotInfo;
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (7)
33protected CqlBlock(SlotInfo[] slotInfos, List<CqlBlock> children, BoolExpression whereClause, CqlIdentifiers identifiers, int blockAliasNum) 35m_slots = new ReadOnlyCollection<SlotInfo>(slotInfos); 45private ReadOnlyCollection<SlotInfo> m_slots; 68internal ReadOnlyCollection<SlotInfo> Slots 119var slotInfo = m_slots[slotNum]; 150foreach (SlotInfo slotInfo in Slots) 187/// If <paramref name="isTopLevel"/>=true then generates "A" for the only slot that is marked as <see cref="SlotInfo.IsRequiredByParent"/>.
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (1)
32SlotInfo[] slots,
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (1)
31SlotInfo[] slotInfos,
System\Data\Mapping\ViewGeneration\CqlGeneration\SlotInfo.cs (3)
26/// Creates a <see cref="SlotInfo"/> for a <see cref="CqlBlock"/> X with information about whether this slot is needed by X's parent 35/// Creates a <see cref="SlotInfo"/> for a <see cref="CqlBlock"/> X with information about whether this slot is needed by X's parent 67/// The slot represented by this <see cref="SlotInfo"/>.
System\Data\Mapping\ViewGeneration\CqlGeneration\UnionCqlBlock.cs (1)
29internal UnionCqlBlock(SlotInfo[] slotInfos, List<CqlBlock> children, CqlIdentifiers identifiers, int blockAliasNum)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (5)
248SlotInfo[] slotInfos = CreateSlotInfosForCaseStatement(parentRequiredSlots, foundSlot, childBlock, thisCaseStatement, withRelationships); 270private SlotInfo[] CreateSlotInfosForCaseStatement(bool[] parentRequiredSlots, 277SlotInfo[] slotInfos = new SlotInfo[TotalSlots + numSlotsAddedByChildBlock]; 312SlotInfo slotInfo = new SlotInfo(isRequiredByParent && isProjected, isProjected, slot, outputMember);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (8)
132SlotInfo[] projectedSlots = new SlotInfo[totalSlots]; 153SlotInfo slotInfo = new SlotInfo(requiredSlots[i], slot != null, 172SlotInfo slotInfo = new SlotInfo(requiredSlots[slotIndex], expr != null, 179IEnumerable<SlotInfo> totalProjectedSlots = projectedSlots; 185List<SlotInfo> foreignKeySlots = new List<SlotInfo>(); 204ref List<SlotInfo> foreignKeySlots,
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (19)
226List<Tuple<CqlBlock, SlotInfo>> additionalChildSlots = new List<Tuple<CqlBlock, SlotInfo>>(); 241SlotInfo[] paddedSlotInfo = new SlotInfo[childBlock.Slots.Count]; 264childBlock.Slots = new ReadOnlyCollection<SlotInfo>(paddedSlotInfo); 275SlotInfo[] childSlots = new SlotInfo[totalSlots + additionalChildSlots.Count]; 280var slotInfo = addtionalChildSlotInfo.Item2; 294childBlock.Slots = new ReadOnlyCollection<SlotInfo>(childSlots); 299SlotInfo[] slotInfos = new SlotInfo[totalSlots + additionalChildSlots.Count]; 307SlotInfo slotInfo = firstChild.Slots[slotNum]; 315var aslot = firstChild.Slots[slotNum]; 365SlotInfo[] slotInfos = new SlotInfo[totalSlots + additionalChildSlots.Count]; 370SlotInfo slotInfo = GetJoinSlotInfo(OpType, requiredSlots[slotNum], children, slotNum, identifiers); 420private SlotInfo GetJoinSlotInfo(CellTreeOpType opType, bool isRequiredSlot, 426SlotInfo unrequiredSlotInfo = new SlotInfo(false, false, null, GetMemberPath(slotNum)); 517SlotInfo slotInfo = new SlotInfo(true, true, slot, memberPath, enforceNotNull);