6 instantiations of DbObjectKey
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (4)
517DbObjectKey currentFunction = new DbObjectKey(); 900DbObjectKey pkKey = new DbObjectKey(row[table.PKCatalogColumn], 903DbObjectKey fkKey = new DbObjectKey(row[table.FKCatalogColumn], 1102DbObjectKey currentKey = new DbObjectKey();
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
149return new EntityStoreSchemaGenerator.DbObjectKey(this.Catalog, this.Schema, this.ProcedureName, EntityStoreSchemaGenerator.DbObjectType.Function);
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (1)
443return new EntityStoreSchemaGenerator.DbObjectKey(
45 references to DbObjectKey
System.Data.Entity.Design (45)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (18)
464DbObjectKey key = session.GetKey(entitySet.ElementType); 478DbObjectKey key = session.GetKey(type); 517DbObjectKey currentFunction = new DbObjectKey(); 521DbObjectKey rowFunction = reader.CreateDbObjectKey(); 541private void CreateEdmFunction(LoadMethodSessionState session, DbObjectKey functionKey, List<FunctionDetailsReader.Memento> parameters) 900DbObjectKey pkKey = new DbObjectKey(row[table.PKCatalogColumn], 903DbObjectKey fkKey = new DbObjectKey(row[table.FKCatalogColumn], 1102DbObjectKey currentKey = new DbObjectKey(); 1107DbObjectKey rowKey = row.CreateDbObjectKey(objectType); 1155DbObjectKey tableKey = columns[0].CreateDbObjectKey(objectType); 1282DbObjectKey tableKey = columns[0].CreateDbObjectKey(objectType); 1304DbObjectKey tableKey, 1349DbObjectKey key = row.CreateDbObjectKey(tableKey.ObjectType); 1373DbObjectKey key = row.CreateDbObjectKey(tableKey.ObjectType); 1402DbObjectKey key = row.CreateDbObjectKey(tableKey.ObjectType); 1430DbObjectKey key = row.CreateDbObjectKey(tableKey.ObjectType); 1466private bool InferKeyColumns(LoadMethodSessionState session, IList<TableDetailsRow> columns, List<string> pKeys, DbObjectKey tableKey, ref ICollection<string> primaryKeys) 1524DbObjectKey key = session.GetKey(entityType);
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.DbObjectKey.cs (7)
64public static bool operator ==(DbObjectKey lhs, DbObjectKey rhs) 68public static bool operator !=(DbObjectKey lhs, DbObjectKey rhs) 94if (!(obj is DbObjectKey)) 99DbObjectKey key = (DbObjectKey)obj;
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (18)
36private Dictionary<DbObjectKey, EntityType> _entityLookup = new Dictionary<DbObjectKey, EntityType>(); 37private Dictionary<EntityType, DbObjectKey> _reverseEntityLookup = new Dictionary<EntityType, DbObjectKey>(); 38private HashSet<DbObjectKey> _missingEntities = new HashSet<DbObjectKey>(); 39private HashSet<DbObjectKey> _tablesWithoutKeys = new HashSet<DbObjectKey>(); 40private Dictionary<DbObjectKey, RowType> _tvfReturnTypeLookup = new Dictionary<DbObjectKey, RowType>(); 64public void AddTableWithoutKey(DbObjectKey tableKey) 69public bool ContainsTableWithoutKey(DbObjectKey tableKey) 80public void AddEntity(DbObjectKey key, EntityType type) 91public bool TryGetEntity(DbObjectKey key, out EntityType type) 116public DbObjectKey GetKey(EntityType type) 118DbObjectKey key; 124public void AddTvfReturnType(DbObjectKey key, RowType type) 129public bool TryGetTvfReturnType(DbObjectKey key, out RowType type)
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
146internal EntityStoreSchemaGenerator.DbObjectKey CreateDbObjectKey()
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (1)
441public EntityStoreSchemaGenerator.DbObjectKey CreateDbObjectKey(EntityStoreSchemaGenerator.DbObjectType objectType)