1 instantiation of DbRelatedEntityRef
System.Data.Entity (1)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
2809
return new
DbRelatedEntityRef
(sourceEnd, targetEnd, targetEntity);
36 references to DbRelatedEntityRef
System.Data.Entity (36)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
163
internal virtual void VisitRelatedEntityReferenceList(IList<
DbRelatedEntityRef
> relatedEntityReferences)
171
internal virtual void VisitRelatedEntityReference(
DbRelatedEntityRef
relatedEntityRef)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (3)
294
private
DbRelatedEntityRef
VisitRelatedEntityRef(
DbRelatedEntityRef
entityRef)
744
IList<
DbRelatedEntityRef
> newRefs = this.VisitList(expression.RelatedEntityReferences, this.VisitRelatedEntityRef);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (5)
2794
/// Creates a new <see cref="
DbRelatedEntityRef
"/> that describes how to satisfy the relationship
2807
internal static
DbRelatedEntityRef
CreateRelatedEntityRef(RelationshipEndMember sourceEnd, RelationshipEndMember targetEnd, DbExpression targetEntity)
2822
/// <param name="relationships">A (possibly empty) list of <see cref="
DbRelatedEntityRef
"/>s that describe Entities that are related to the constructed Entity by various relationship types.</param>
2824
internal static DbNewInstanceExpression CreateNewEntityWithRelationshipsExpression(EntityType entityType, IList<DbExpression> attributeValues, IList<
DbRelatedEntityRef
> relationships)
2827
System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
> validRelatedRefs;
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (7)
1643
internal static TypeUsage ValidateNewEntityWithRelationships(EntityType entityType, IEnumerable<DbExpression> attributeValues, IList<
DbRelatedEntityRef
> relationships, out DbExpressionList validArguments, out System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
> validRelatedRefs)
1654
List<
DbRelatedEntityRef
> relatedRefs = new List<
DbRelatedEntityRef
>(relationships.Count);
1657
DbRelatedEntityRef
relatedRef = relationships[idx];
1675
validRelatedRefs = new System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
>(new
DbRelatedEntityRef
[] { });
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
659
foreach (
DbRelatedEntityRef
relatedRef in e.RelatedEntityReferences)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
505
foreach (
DbRelatedEntityRef
relatedRef in e.RelatedEntityReferences)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
776
foreach (
DbRelatedEntityRef
relatedRef in e.RelatedEntityReferences)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
223
List<
DbRelatedEntityRef
> relatedRefs =
280
private static
DbRelatedEntityRef
RelatedEntityRefFromAssociationSetEnd(EntityType constructedEntityType, DbNewInstanceExpression entityConstructor, AssociationSetEnd principalSetEnd, ReferentialConstraint fkConstraint)
323
DbRelatedEntityRef
result = DbExpressionBuilder.CreateRelatedEntityRef(fkConstraint.ToRole, fkConstraint.FromRole, principalRef);
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
636
private readonly System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
> _relatedEntityRefs;
647
internal DbNewInstanceExpression(TypeUsage resultType, DbExpressionList attributeValues, System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
> relationships)
684
internal System.Collections.ObjectModel.ReadOnlyCollection<
DbRelatedEntityRef
> RelatedEntityReferences { get { return _relatedEntityRefs; } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (5)
998
List<
DbRelatedEntityRef
> relshipExprList = null;
1014
relshipExprList = new List<
DbRelatedEntityRef
>(methodExpr.Relationships.Count);
1019
DbRelatedEntityRef
relshipTarget = ConvertRelatedEntityRef(relshipExpr, driverEntityType, sr);
1327
List<
DbRelatedEntityRef
> relshipExprList,
1554
private static
DbRelatedEntityRef
ConvertRelatedEntityRef(AST.RelshipNavigationExpr relshipExpr, EntityType driverEntityType, SemanticResolver sr)
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
223
foreach (
DbRelatedEntityRef
relatedRef in constructor.RelatedEntityReferences)
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (2)
329
List<
DbRelatedEntityRef
> relatedEntityRefs = new List<
DbRelatedEntityRef
>();
System\Data\Mapping\ViewGeneration\Structures\WithStatement.cs (1)
94
internal
DbRelatedEntityRef
AsCqt(DbExpression row)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2051
foreach (
DbRelatedEntityRef
targetRef in e.RelatedEntityReferences)