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