19 references to RoleProperties
System.Data.Entity (19)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (16)
78
Debug.Assert(_principalRole.
RoleProperties
.Count != 0, "There should be some ref properties in Principal Role");
79
Debug.Assert(_dependentRole.
RoleProperties
.Count != 0, "There should be some ref properties in Dependent Role");
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,
205
_principalRole.
RoleProperties
[i].Name,
224
if(role.
RoleProperties
.Count == 0)
227
foreach(PropertyRefElement propRef in role.
RoleProperties
)
256
if (itemType.KeyProperties.Count != roleElement.
RoleProperties
.Count)
262
for (int i = 0; i < roleElement.
RoleProperties
.Count; i++)
274
if (itemType.KeyProperties[j].Property == roleElement.
RoleProperties
[i].Property)
288
areAllPropertiesNullable &= roleElement.
RoleProperties
[i].Property.Nullable;
289
isAnyPropertyNullable |= roleElement.
RoleProperties
[i].Property.Nullable;
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
89
this.
RoleProperties
.Add(property);
System\Data\Metadata\Converter.cs (2)
512
GetProperties(fromEntityType, constraint.PrincipalRole.
RoleProperties
),
513
GetProperties(toEntityType, constraint.DependentRole.
RoleProperties
));