14 references to PrimaryKeyColumns
System.Web.DynamicData (14)
DynamicData\ControlFilterExpression.cs (2)
110
var nameColumnMapping = table.
PrimaryKeyColumns
.ToDictionary(c => c.Name);
117
Dictionary<string, MetaColumn> nameColumnMapping = CreateColumnMapping(column, otherTable.
PrimaryKeyColumns
);
DynamicData\DynamicControlParameter.cs (3)
107
foreach (var keyColumn in parentTable.
PrimaryKeyColumns
) {
135
Debug.Assert(column.ForeignKeyNames.Count == parentTable.
PrimaryKeyColumns
.Count);
138
MetaColumn parentTablePKColumn = parentTable.
PrimaryKeyColumns
[index++];
DynamicData\MetaTable.cs (6)
152
return
PrimaryKeyColumns
.Count > 0;
232
_primaryKeyColumnNames =
PrimaryKeyColumns
.Select(c => c.Name).ToArray();
560
foreach (MetaColumn key in
PrimaryKeyColumns
) {
664
foreach (MetaColumn pkMember in
PrimaryKeyColumns
) {
704
return Misc.GetKeyValues(
PrimaryKeyColumns
, row);
1064
return
PrimaryKeyColumns
.OfType<IMetaColumn>().ToList().AsReadOnly();
DynamicData\Util\RouteParametersHelper.cs (3)
34
Debug.Assert(fkColumn.ForeignKeyNames.Count == fkColumn.ParentTable.
PrimaryKeyColumns
.Count);
40
MetaColumn parentTablePKColumn = fkColumn.ParentTable.
PrimaryKeyColumns
[i];
51
foreach (var primaryKeyColumn in table.
PrimaryKeyColumns
) {