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