2 types derived from SimpleColumnMap
System.Data.Entity (2)
System\Data\Query\InternalTrees\ColumnMap.cs (2)
166
internal class ScalarColumnMap :
SimpleColumnMap
1030
internal class VarRefColumnMap :
SimpleColumnMap
97 references to SimpleColumnMap
System.Data.Entity (97)
System\Data\Common\Internal\Materialization\Translator.cs (1)
1002
private static Expression Emit_EntityKey_HasValue(
SimpleColumnMap
[] keyColumns)
System\Data\Query\InternalTrees\ColumnMap.cs (38)
256
virtual internal
SimpleColumnMap
NullSentinel { get { return null; } }
287
private
SimpleColumnMap
m_nullSentinel;
295
internal RecordColumnMap(md.TypeUsage type, string name, ColumnMap[] properties,
SimpleColumnMap
nullSentinel)
304
internal override
SimpleColumnMap
NullSentinel { get { return m_nullSentinel; } }
354
private
SimpleColumnMap
m_typeDiscriminator;
368
SimpleColumnMap
typeDiscriminator,
381
internal
SimpleColumnMap
TypeDiscriminator { get { return m_typeDiscriminator; } }
441
private readonly
SimpleColumnMap
[] m_typeDiscriminators;
451
SimpleColumnMap
[] typeDiscriminators,
468
internal
SimpleColumnMap
[] TypeDiscriminators { get { return m_typeDiscriminators; } }
528
private
SimpleColumnMap
m_nullSentinel;
536
internal ComplexTypeColumnMap(md.TypeUsage type, string name, ColumnMap[] properties,
SimpleColumnMap
nullSentinel)
545
internal override
SimpleColumnMap
NullSentinel { get { return m_nullSentinel; } }
710
private readonly
SimpleColumnMap
[] m_foreignKeys;
711
private readonly
SimpleColumnMap
[] m_keys;
721
internal CollectionColumnMap(md.TypeUsage type, string name, ColumnMap elementMap,
SimpleColumnMap
[] keys,
SimpleColumnMap
[] foreignKeys)
727
m_keys = keys ?? new
SimpleColumnMap
[0];
728
m_foreignKeys = foreignKeys ?? new
SimpleColumnMap
[0];
734
internal
SimpleColumnMap
[] ForeignKeys
742
internal
SimpleColumnMap
[] Keys
771
SimpleColumnMap
[] keys,
772
SimpleColumnMap
[] foreignKeys)
809
private
SimpleColumnMap
m_discriminator;
824
SimpleColumnMap
[] keys,
825
SimpleColumnMap
[] foreignKeys,
826
SimpleColumnMap
discriminator,
839
internal
SimpleColumnMap
Discriminator { get { return m_discriminator; } }
893
private readonly
SimpleColumnMap
[] m_keys; // list of keys
899
internal EntityIdentity(
SimpleColumnMap
[] keyColumns)
908
internal
SimpleColumnMap
[] Keys { get { return m_keys; } }
928
internal SimpleEntityIdentity(md.EntitySet entitySet,
SimpleColumnMap
[] keyColumns)
949
foreach (
SimpleColumnMap
c in this.Keys)
972
private
SimpleColumnMap
m_entitySetColumn; // (optional) column map representing the entity set
981
internal DiscriminatedEntityIdentity(
SimpleColumnMap
entitySetColumn, md.EntitySet[] entitySetMap,
982
SimpleColumnMap
[] keyColumns)
994
internal
SimpleColumnMap
EntitySetColumnMap { get { return m_entitySetColumn; } }
1013
foreach (
SimpleColumnMap
c in this.Keys)
System\Data\Query\InternalTrees\ColumnMapCopier.cs (16)
141
SimpleColumnMap
newEntitySetCol = (
SimpleColumnMap
)entityIdentity.EntitySetColumnMap.Accept(this, replacementVarMap);
142
SimpleColumnMap
[] newKeys = VisitList(entityIdentity.Keys, replacementVarMap);
154
SimpleColumnMap
[] newKeys = VisitList(entityIdentity.Keys, replacementVarMap);
168
SimpleColumnMap
newNullability = columnMap.NullSentinel;
171
newNullability = (
SimpleColumnMap
)newNullability.Accept(this, replacementVarMap);
186
SimpleColumnMap
newDiscriminator = (
SimpleColumnMap
)columnMap.Discriminator.Accept(this, replacementVarMap);
187
SimpleColumnMap
[] newKeys = VisitList(columnMap.Keys, replacementVarMap);
188
SimpleColumnMap
[] newForeignKeys = VisitList(columnMap.ForeignKeys, replacementVarMap);
213
SimpleColumnMap
newDiscriminator = (
SimpleColumnMap
)columnMap.TypeDiscriminator.Accept(this, replacementVarMap);
244
SimpleColumnMap
newNullability = columnMap.NullSentinel;
247
newNullability = (
SimpleColumnMap
)newNullability.Accept(this, replacementVarMap);
285
SimpleColumnMap
[] newKeys = VisitList(columnMap.Keys, replacementVarMap);
286
SimpleColumnMap
[] newForeignKeys = VisitList(columnMap.ForeignKeys, replacementVarMap);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (3)
238
SimpleColumnMap
[] keyColumns = new
SimpleColumnMap
[keyMembers.Count];
250
keyColumns[keyMemberIndex] = (
SimpleColumnMap
)keyColumnMap;
System\Data\Query\InternalTrees\ColumnMapVisitor.cs (7)
70
foreach (
SimpleColumnMap
columnMap in entityIdentity.Keys)
78
foreach (
SimpleColumnMap
columnMap in entityIdentity.Keys)
104
foreach (
SimpleColumnMap
fk in columnMap.ForeignKeys)
108
foreach (
SimpleColumnMap
k in columnMap.Keys)
139
foreach (
var
typeDiscriminator in columnMap.TypeDiscriminators)
177
foreach (
SimpleColumnMap
fk in columnMap.ForeignKeys)
181
foreach (
SimpleColumnMap
k in columnMap.Keys)
System\Data\Query\InternalTrees\Command.cs (2)
1456
new
SimpleColumnMap
[0], // keys
1457
new
SimpleColumnMap
[0]); // foreign keys
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (17)
122
SimpleColumnMap
nullSentinelColumnMap = null;
209
SimpleColumnMap
entitySetIdColumnMap = null;
216
List<
SimpleColumnMap
> keyColumnMapList = new List<
SimpleColumnMap
>();
238
SimpleColumnMap
keyColumnMap = keyPropertyMap[edmKeyProperty] as
SimpleColumnMap
;
330
private
SimpleColumnMap
CreateEntitySetIdColumnMap(md.EdmProperty prop)
360
SimpleColumnMap
typeIdColumnMap = CreateTypeIdColumnMap(rootTypeInfo.TypeIdProperty);
407
SimpleColumnMap
nullSentinelColumnMap = null;
433
SimpleColumnMap
entitySetIdColumnMap = null;
443
SimpleColumnMap
[] keyColList = new
SimpleColumnMap
[entityType.KeyMembers.Count];
465
private
SimpleColumnMap
CreateSimpleColumnMap(md.TypeUsage type, string name)
468
SimpleColumnMap
result = new VarRefColumnMap(type, name, newVar);
477
private
SimpleColumnMap
CreateTypeIdColumnMap(md.EdmProperty prop)
534
SimpleColumnMap
entitySetIdColumnMap,
535
SimpleColumnMap
[] keyColumnMaps)
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (7)
253
entityIdentity = new DiscriminatedEntityIdentity((
SimpleColumnMap
)newEntitySetColumnMap, entityIdentity.EntitySetMap, entityIdentity.Keys);
280
SimpleColumnMap
newNullSentinel = columnMap.NullSentinel;
283
newNullSentinel = (
SimpleColumnMap
)translationDelegate(newNullSentinel);
310
columnMap = new DiscriminatedCollectionColumnMap(columnMap.Type, columnMap.Name, newElement, columnMap.Keys, columnMap.ForeignKeys,(
SimpleColumnMap
)newDiscriminator, columnMap.DiscriminatorValue);
363
columnMap = new SimplePolymorphicColumnMap(columnMap.Type, columnMap.Name, columnMap.Properties, (
SimpleColumnMap
)newTypeDiscriminator, newTypeChoices);
387
SimpleColumnMap
newNullSentinel = columnMap.NullSentinel;
390
newNullSentinel = (
SimpleColumnMap
)translationDelegate(newNullSentinel);
System\Data\Query\PlanCompiler\NestPullup.cs (6)
1961
SimpleColumnMap
[] keyColumnMaps;
2117
private Node ConvertToSingleStreamNest(Node nestNode, Dictionary<Var, ColumnMap> varRefReplacementMap, VarList flattenedOutputVarList, out
SimpleColumnMap
[] parentKeyColumnMaps)
2135
SimpleColumnMap
[] childKeyColumnMaps;
2245
parentKeyColumnMaps = new
SimpleColumnMap
[parentKeys.Count];
2301
SimpleColumnMap
[] keyColumnMaps = new
SimpleColumnMap
[newCollectionInfo.Keys.Count];