1 write to _dependentRole
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (1)
326
_dependentRole
= new ReferentialConstraintRoleElement(this);
15 references to _dependentRole
System.Data.Entity (15)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (15)
41
_dependentRole
.Validate();
43
if (ReadyForFurtherValidation(_principalRole) && ReadyForFurtherValidation(
_dependentRole
))
47
IRelationshipEnd dependentRoleEnd =
_dependentRole
.End;
55
if (_principalRole.Name ==
_dependentRole
.Name)
64
IsKeyProperty(
_dependentRole
, dependentRoleEnd.Type,
79
Debug.Assert(
_dependentRole
.RoleProperties.Count != 0, "There should be some ref properties in Dependent Role");
152
System.Data.Entity.Strings.InvalidMultiplicityToRoleLowerBoundMustBeZero(
_dependentRole
.Name, this.ParentElement.Name));
188
if (
_dependentRole
.RoleProperties.Count != _principalRole.RoleProperties.Count)
196
for (int i = 0; i <
_dependentRole
.RoleProperties.Count; i++)
198
if (
_dependentRole
.RoleProperties[i].Property.Type != _principalRole.RoleProperties[i].Property.Type)
203
_dependentRole
.RoleProperties[i].Name,
204
_dependentRole
.End.Type.Identity,
327
_dependentRole
.Parse(reader);
332
_dependentRole
.ResolveTopLevelNames();
360
return
_dependentRole
;