1 type derived from RelationshipType
System.Data.Entity (1)
System\Data\Metadata\Edm\AssociationType.cs (1)
21
public sealed class AssociationType :
RelationshipType
48 references to RelationshipType
System.Data.Entity (47)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
317
RelationshipType
mappedType = (
RelationshipType
)this.VisitType(target.DeclaringType);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (3)
1289
RelationshipType
relType;
1314
public static DbRelationshipNavigationExpression Navigate(this
RelationshipType
type, string fromEndName, string toEndName, DbExpression navigateFrom)
2843
RelationshipType
relType;
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
1215
internal static TypeUsage ValidateNavigate(DbExpression navigateFrom,
RelationshipType
type, string fromEndName, string toEndName, out RelationshipEndMember fromEnd, out RelationshipEndMember toEnd)
1251
internal static TypeUsage ValidateNavigate(DbExpression navigateFrom, RelationshipEndMember fromEnd, RelationshipEndMember toEnd, out
RelationshipType
relType, bool allowAllRelationshipsInSameTypeHierarchy)
1261
relType = fromEnd.DeclaringType as
RelationshipType
;
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (2)
223
internal void Dump(
RelationshipType
type, string name)
234
internal void Dump(
RelationshipType
type)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
779
refNode.Children.Add(CreateRelationshipNode((
RelationshipType
)relatedRef.SourceEnd.DeclaringType));
809
private TreeNode CreateRelationshipNode(
RelationshipType
relType)
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
485
private readonly
RelationshipType
_relation;
492
RelationshipType
relType,
512
public
RelationshipType
Relationship { get { return _relation; } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1560
var
relationshipType = edmType as
RelationshipType
;
1677
var
relationshipType = edmType as
RelationshipType
;
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
191
protected virtual void Visit(
RelationshipType
relationshipType)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
511
protected override void Visit(
RelationshipType
relationshipType)
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
225
Query.InternalTrees.RelProperty relProperty = new System.Data.Query.InternalTrees.RelProperty((
RelationshipType
)relatedRef.TargetEnd.DeclaringType,
System\Data\Metadata\Edm\NavigationProperty.cs (2)
66
private
RelationshipType
_relationshipType;
82
public
RelationshipType
RelationshipType
System\Data\Metadata\Edm\RelationshipSet.cs (3)
32
internal RelationshipSet(string name, string schema, string table, string definingQuery,
RelationshipType
relationshipType)
42
public new
RelationshipType
ElementType
46
return (
RelationshipType
)base.ElementType;
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (3)
542
navigationProperty.RelationshipType = (
RelationshipType
)ospaceRelationship;
546
navigationProperty.ToEndMember = (RelationshipEndMember)((
RelationshipType
)ospaceRelationship).Members.First(e => e.Name == cspaceProperty.ToEndMember.Name);
547
navigationProperty.FromEndMember = (RelationshipEndMember)((
RelationshipType
)ospaceRelationship).Members.First(e => e.Name == cspaceProperty.FromEndMember.Name);
System\Data\Metadata\TypeSemantics.cs (1)
601
return ((
RelationshipType
)edmMember.DeclaringType).KeyMembers.Contains(edmMember);
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
87
private
RelationshipType
_relationMetadata;
252
internal
RelationshipType
RelationMetadata
2340
this._relationMetadata = (
RelationshipType
)relationshipType;
System\Data\Query\InternalTrees\RelPropertyHelper.cs (6)
36
private readonly
RelationshipType
m_relationshipType;
42
internal RelProperty(
RelationshipType
relationshipType, RelationshipEndMember fromEnd, RelationshipEndMember toEnd)
54
public
RelationshipType
Relationship { get { return m_relationshipType; } }
151
private void ProcessRelationship(
RelationshipType
relationshipType)
180
foreach (
RelationshipType
relationshipType in ws.GetItems<
RelationshipType
>(DataSpace.CSpace))
System\Data\Query\InternalTrees\ScalarOps.cs (1)
1597
internal
RelationshipType
Relationship { get { return m_property.Relationship; } }
System\Data\Query\PlanCompiler\ConstraintManager.cs (4)
129
internal ForeignKeyConstraint(md.
RelationshipType
relType, md.RelationshipSet relationshipSet, md.ReferentialConstraint constraint)
245
md.
RelationshipType
relationshipType = (md.
RelationshipType
)relationshipSet.ElementType;
300
private static bool IsBinary(md.
RelationshipType
relationshipType)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2053
RelProperty relProperty = new RelProperty((
RelationshipType
)targetRef.TargetEnd.DeclaringType, targetRef.SourceEnd, targetRef.TargetEnd);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
243
private List<RelationshipSet> GetRelationshipSets(
RelationshipType
relType)
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1086
RelationshipType
associationType,