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