3 writes to IsPrimaryKey
System.Web.DynamicData (3)
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
24IsPrimaryKey = member.IsPrimaryKey;
DynamicData\ModelProviders\EFColumnProvider.cs (1)
18IsPrimaryKey = isPrimaryKey;
DynamicData\ModelProviders\SimpleColumnProvider.cs (1)
18IsPrimaryKey = propertyDescriptor.Attributes.OfType<KeyAttribute>().Any();
5 references to IsPrimaryKey
System.Web.DynamicData (5)
DynamicData\MetaColumn.cs (1)
168public bool IsPrimaryKey { get { return Provider.IsPrimaryKey; } }
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
46if (thisEntityMemberComponent.IsPrimaryKey) {
DynamicData\ModelProviders\EFAssociationProvider.cs (2)
55var primaryKeyNames = FromColumn.Table.Columns.Where(c => c.IsPrimaryKey).Select(c => c.Name); 72foreach (ColumnProvider toEntityColumn in ToTable.Columns.Where(c => c.IsPrimaryKey)) {
DynamicData\ModelProviders\EFColumnProvider.cs (1)
50return navigationProperties.Any(n => EFAssociationProvider.GetDependentPropertyNames(n, !IsPrimaryKey /* checkRelationshipType */).Contains(property.Name));