8 instantiations of RelProperty
System.Data.Entity (8)
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
225
Query.InternalTrees.RelProperty relProperty = new System.Data.Query.InternalTrees.
RelProperty
((RelationshipType)relatedRef.TargetEnd.DeclaringType,
System\Data\Query\InternalTrees\Command.cs (2)
925
RelProperty relProperty = new
RelProperty
(navProp.RelationshipType, navProp.FromEndMember, navProp.ToEndMember);
927
RelProperty inverseRelProperty = new
RelProperty
(navProp.RelationshipType, navProp.ToEndMember, navProp.FromEndMember);
System\Data\Query\InternalTrees\RelPropertyHelper.cs (1)
130
RelProperty prop = new
RelProperty
(associationType, fromEnd, toEnd);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
2053
RelProperty relProperty = new
RelProperty
((RelationshipType)targetRef.TargetEnd.DeclaringType, targetRef.SourceEnd, targetRef.TargetEnd);
2117
RelProperty relProperty = new
RelProperty
(e.Relationship, e.NavigateFrom, e.NavigateTo);
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
865
RelProperty inverseRelProperty = new
RelProperty
(relProperty.Relationship, relProperty.ToEnd, relProperty.FromEnd);
975
RelProperty relProperty = new
RelProperty
(navProperty.RelationshipType, navProperty.FromEndMember, navProperty.ToEndMember);
93 references to RelProperty
System.Data.Entity (93)
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (13)
52
internal readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<Query.InternalTrees.
RelProperty
, DbExpression>> RelPropertyMap;
62
Dictionary<Query.InternalTrees.
RelProperty
, DbExpression> relPropertyMap,
98
var relPropertyMap = new Dictionary<Query.InternalTrees.
RelProperty
, DbExpression>();
99
var typeToRelPropertyMap = new Dictionary<EntityType, List<Query.InternalTrees.
RelProperty
>>();
158
Dictionary<Query.InternalTrees.
RelProperty
, DbExpression> relPropertyMap,
159
Dictionary<EntityType, List<Query.InternalTrees.
RelProperty
>> typeToRelPropertyMap)
167
foreach (Query.InternalTrees.
RelProperty
relProperty in relPropertyMap.Keys)
169
foreach (KeyValuePair<EntityType, List<Query.InternalTrees.
RelProperty
>> kv in typeToRelPropertyMap)
185
Dictionary<Query.InternalTrees.
RelProperty
, DbExpression> relPropertyMap,
186
Dictionary<EntityType, List<Query.InternalTrees.
RelProperty
>> typeToRelPropertyMap,
217
List<Query.InternalTrees.
RelProperty
> relPropertyList;
220
relPropertyList = new List<System.Data.Query.InternalTrees.
RelProperty
>();
225
Query.InternalTrees.
RelProperty
relProperty = new System.Data.Query.InternalTrees.RelProperty((RelationshipType)relatedRef.TargetEnd.DeclaringType,
System\Data\Query\InternalTrees\Command.cs (12)
51
private HashSet<
RelProperty
> m_referencedRelProperties;
85
m_referencedRelProperties = new HashSet<
RelProperty
>();
820
internal NewEntityOp CreateScopedNewEntityOp(TypeUsage type, List<
RelProperty
> relProperties, EntitySet entitySet)
828
internal NewEntityOp CreateNewEntityOp(TypeUsage type, List<
RelProperty
> relProperties)
842
EntitySet entitySet, List<
RelProperty
> relProperties)
925
RelProperty
relProperty = new RelProperty(navProp.RelationshipType, navProp.FromEndMember, navProp.ToEndMember);
927
RelProperty
inverseRelProperty = new RelProperty(navProp.RelationshipType, navProp.ToEndMember, navProp.FromEndMember);
940
internal RelPropertyOp CreateRelPropertyOp(
RelProperty
prop)
1020
internal NavigateOp CreateNavigateOp(TypeUsage type,
RelProperty
relProperty)
1812
private void AddRelPropertyReference(
RelProperty
relProperty)
1824
internal HashSet<
RelProperty
> ReferencedRelProperties
1834
internal bool IsRelPropertyReferenced(
RelProperty
relProperty)
System\Data\Query\InternalTrees\RelPropertyHelper.cs (15)
73
RelProperty
other = obj as
RelProperty
;
110
private Dictionary<EntityTypeBase, List<
RelProperty
>> _relPropertyMap;
111
private HashSet<
RelProperty
> _interestingRelProperties;
130
RelProperty
prop = new RelProperty(associationType, fromEnd, toEnd);
138
List<
RelProperty
> propList;
141
propList = new List<
RelProperty
>();
175
internal RelPropertyHelper(MetadataWorkspace ws, HashSet<
RelProperty
> interestingRelProperties)
177
_relPropertyMap = new Dictionary<EntityTypeBase, List<
RelProperty
>>();
194
internal IEnumerable<
RelProperty
> GetDeclaredOnlyRelProperties(EntityTypeBase entityType)
196
List<
RelProperty
> relProperties;
199
foreach (
RelProperty
p in relProperties)
212
internal IEnumerable<
RelProperty
> GetRelProperties(EntityTypeBase entityType)
216
foreach (
RelProperty
p in GetRelProperties(entityType.BaseType as EntityTypeBase))
222
foreach (
RelProperty
p in GetDeclaredOnlyRelProperties(entityType))
System\Data\Query\InternalTrees\ScalarOps.cs (11)
935
private readonly
RelProperty
m_property;
941
internal RelPropertyOp(TypeUsage type,
RelProperty
property)
962
public
RelProperty
PropertyInfo { get { return m_property; } }
992
private readonly List<
RelProperty
> m_relProperties; // list of relationship properties for which we have values
996
internal NewEntityBaseOp(OpType opType, TypeUsage type, bool scoped, EntitySet entitySet, List<
RelProperty
> relProperties)
1024
internal List<
RelProperty
> RelationshipProperties { get { return m_relProperties; } }
1036
internal NewEntityOp(TypeUsage type, List<
RelProperty
> relProperties, bool scoped, EntitySet entitySet)
1117
EntitySet entitySet, List<
RelProperty
> relProperties)
1566
private readonly
RelProperty
m_property;
1570
internal NavigateOp(TypeUsage type,
RelProperty
relProperty)
1592
internal
RelProperty
RelProperty { get { return m_property; } }
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
297
IEnumerable<
RelProperty
> relProperties = null;
311
foreach (
RelProperty
property in relProperties)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (7)
2047
List<
RelProperty
> relPropertyList = new List<
RelProperty
>();
2053
RelProperty
relProperty = new RelProperty((RelationshipType)targetRef.TargetEnd.DeclaringType, targetRef.SourceEnd, targetRef.TargetEnd);
2117
RelProperty
relProperty = new RelProperty(e.Relationship, e.NavigateFrom, e.NavigateTo);
2204
List<
RelProperty
> relPropertyList = new List<
RelProperty
>();
2206
foreach (KeyValuePair<
RelProperty
, DbExpression> kv in _discriminatorMap.RelPropertyMap)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
2817
foreach (
RelProperty
relProp in newEntityOp.RelationshipProperties)
System\Data\Query\PlanCompiler\PreProcessor.cs (26)
752
private Node RewriteManyToOneNavigationProperty(
RelProperty
relProperty,
774
private Node RewriteOneToManyNavigationProperty(
RelProperty
relProperty,
799
private Node RewriteOneToOneNavigationProperty(
RelProperty
relProperty,
836
private Node RewriteFromOneNavigationProperty(
RelProperty
relProperty, List<RelationshipSet> relationshipSets, Node sourceRefNode, out Var outputVar)
865
RelProperty
inverseRelProperty = new RelProperty(relProperty.Relationship, relProperty.ToEnd, relProperty.FromEnd);
904
private Node RewriteManyToManyNavigationProperty(
RelProperty
relProperty,
975
RelProperty
relProperty = new RelProperty(navProperty.RelationshipType, navProperty.FromEndMember, navProperty.ToEndMember);
1548
private RelationshipSet FindRelationshipSet(EntitySetBase entitySet,
RelProperty
relProperty)
1644
private Node BuildRelPropertyExpression(EntitySetBase entitySet,
RelProperty
relProperty,
1707
List<
RelProperty
> relPropertyList,
1708
Dictionary<
RelProperty
, Node> prebuiltExpressions,
1711
foreach (
RelProperty
r in relPropertyList)
1741
List<
RelProperty
> relProperties;
1772
relProperties = new List<
RelProperty
>(m_relPropertyHelper.GetRelProperties(entityType));
1777
List<
RelProperty
> copiedRelPropList = new List<
RelProperty
>(op.RelationshipProperties);
1799
Dictionary<
RelProperty
, Node> prebuiltRelPropertyExprs = new Dictionary<
RelProperty
, Node>();
1835
HashSet<
RelProperty
> relPropertyHashSet = new HashSet<
RelProperty
>();
1836
List<
RelProperty
> relProperties = new List<
RelProperty
>();
1845
foreach (
RelProperty
relProperty in m_relPropertyHelper.GetRelProperties(entityType))
1850
relProperties = new List<
RelProperty
>(relPropertyHashSet);
1869
Dictionary<
RelProperty
, Node> prebuiltRelPropertyExprs = new Dictionary<
RelProperty
, Node>();
System\Data\Query\PlanCompiler\PropertyRef.cs (4)
98
internal PropertyRef CreateNestedPropertyRef(InternalTrees.
RelProperty
p)
344
private InternalTrees.
RelProperty
m_property;
352
internal RelPropertyRef(InternalTrees.
RelProperty
property)
362
internal InternalTrees.
RelProperty
Property { get { return m_property; } }
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
545
foreach (
RelProperty
p in m_relPropertyHelper.GetDeclaredOnlyRelProperties(entityType))
904
foreach (
RelProperty
p in m_relPropertyHelper.GetDeclaredOnlyRelProperties(entityType))