3 instantiations of ExtentKey
System.Data.Entity (3)
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
126
ExtentKey key = new
ExtentKey
(associationKeyMembers);
System\Data\Mapping\ViewGeneration\Validation\ExtentKey.cs (2)
73
ExtentKey key = new
ExtentKey
(keyFields);
90
ExtentKey key = new
ExtentKey
(keyFields);
38 references to ExtentKey
System.Data.Entity (38)
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (7)
463
List<
ExtentKey
> keys = new List<
ExtentKey
>(1);
471
List<
ExtentKey
> entitySetKeys =
ExtentKey
.GetKeysForEntityType(prefix, entityType);
487
List<
ExtentKey
> endKeys =
ExtentKey
.GetKeysForEntityType(prefix,
501
ExtentKey
key = keys[i];
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (2)
149
List<
ExtentKey
> keys =
ExtentKey
.GetKeysForEntityType(prefix, entitySet.ElementType);
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (9)
80
List<
ExtentKey
> keys =
ExtentKey
.GetKeysForEntityType(prefix, entityType);
108
List<
ExtentKey
> keys =
ExtentKey
.GetKeysForEntityType(prefix, end.EntitySet.ElementType);
126
ExtentKey
key = new ExtentKey(associationKeyMembers);
127
ExtentKey
[] keys = new
ExtentKey
[] { key };
134
private void AddKeyConstraints(IEnumerable<
ExtentKey
> keys, BasicSchemaConstraints constraints)
136
foreach (
ExtentKey
key in keys)
System\Data\Mapping\ViewGeneration\Validation\ExtentKey.cs (9)
50
internal static List<
ExtentKey
> GetKeysForEntityType(MemberPath prefix, EntityType entityType)
54
ExtentKey
key = GetPrimaryKeyForEntityType(prefix, entityType);
56
List<
ExtentKey
> keys = new List<
ExtentKey
>();
63
internal static
ExtentKey
GetPrimaryKeyForEntityType(MemberPath prefix, EntityType entityType)
73
ExtentKey
key = new ExtentKey(keyFields);
79
internal static
ExtentKey
GetKeyForRelationType(MemberPath prefix, AssociationType relationType)
87
ExtentKey
primaryKey = GetPrimaryKeyForEntityType(endPrefix, entityType);
90
ExtentKey
key = new ExtentKey(keyFields);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (4)
264
ExtentKey
primaryKey =
ExtentKey
.GetPrimaryKeyForEntityType(prefix, ChildTable.ElementType);
588
ExtentKey
primaryKey =
ExtentKey
.GetPrimaryKeyForEntityType(prefix, relationEnd.EntitySet.ElementType);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (7)
111
ExtentKey
tableKey =
ExtentKey
.GetPrimaryKeyForEntityType(tablePrefix, (EntityType)table.ElementType);
112
ExtentKey
cSetKey = null;
115
cSetKey =
ExtentKey
.GetPrimaryKeyForEntityType(cSetPrefix, (EntityType)cSet.ElementType);
119
cSetKey =
ExtentKey
.GetKeyForRelationType(cSetPrefix, (AssociationType)cSet.ElementType);
159
ExtentKey
tableKey =
ExtentKey
.GetPrimaryKeyForEntityType(tablePrefix, (EntityType)table.ElementType);