43 references to GetItemCollection
System.Data.Entity (33)
System\Data\Common\CommandTrees\DbCommandTree.cs (3)
71
effectiveMetadata.RegisterItemCollection(metadata.
GetItemCollection
(DataSpace.CSpace));
72
effectiveMetadata.RegisterItemCollection(metadata.
GetItemCollection
(DataSpace.CSSpace));
73
effectiveMetadata.RegisterItemCollection(metadata.
GetItemCollection
(DataSpace.SSpace));
System\Data\Common\DbProviderServices.cs (1)
44
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.MetadataWorkspace.
GetItemCollection
(DataSpace.SSpace);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
889
sr.TypeResolver.Perspective.MetadataWorkspace.
GetItemCollection
(DataSpace.CSSpace) as StorageMappingItemCollection;
System\Data\Common\Internal\Materialization\Shaper.cs (1)
417
oSpaceAssociation = this.Workspace.
GetItemCollection
(DataSpace.OSpace).GetItem<AssociationType>(associationType.FullName);
System\Data\Common\Utils\CommandHelper.cs (1)
152
StoreItemCollection storeItemCollection = (StoreItemCollection)connection.GetMetadataWorkspace().
GetItemCollection
(DataSpace.SSpace);
System\Data\Common\Utils\MetadataHelper.cs (2)
170
ObjectItemCollection objectItemCollection = (ObjectItemCollection)workspace.
GetItemCollection
(DataSpace.OSpace);
352
return GetTypeAndSubtypesOf(type, workspace.
GetItemCollection
(DataSpace.CSpace), includeAbstractTypes);
System\Data\EntityClient\EntityConnection.cs (2)
129
StoreItemCollection collection = (StoreItemCollection)workspace.
GetItemCollection
(DataSpace.SSpace);
448
edmItemCollection = (EdmItemCollection)_metadataWorkspace.
GetItemCollection
(DataSpace.CSpace);
System\Data\EntityClient\EntityProviderServices.cs (1)
39
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.MetadataWorkspace.
GetItemCollection
(DataSpace.SSpace);
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
411
workspace.
GetItemCollection
(DataSpace.CSSpace).GetItems<StorageEntityContainerMapping>(), out storageEntityContainerMapping))
470
var mappingCollection = (workspace.
GetItemCollection
(DataSpace.CSSpace) as StorageMappingItemCollection);
System\Data\Metadata\MetadataWorkspace.cs (2)
363
ObjectItemCollection collection = (ObjectItemCollection)
GetItemCollection
(DataSpace.OSpace);
455
ObjectItemCollection ospaceCollection =
GetItemCollection
(DataSpace.OSpace) as ObjectItemCollection;
System\Data\Metadata\Perspective.cs (1)
153
ItemCollection itemCollection = m_metadataWorkspace.
GetItemCollection
(m_targetDataspace);
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
656
return (ObjectItemCollection)wrappedOwner.Context.MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace);
690
collection = (DefaultObjectMappingItemCollection)wrappedOwner.Context.MetadataWorkspace.
GetItemCollection
(DataSpace.OCSpace);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
214
return ((StoreItemCollection)_funcletizer.RootContext.MetadataWorkspace.
GetItemCollection
(DataSpace.SSpace)).StoreProviderManifest;
System\Data\Objects\ObjectContext.cs (7)
267
_workspace.
GetItemCollection
(DataSpace.OCSpace);
1608
ItemCollection connectionCSpaceCollection = connectionWorkspace.
GetItemCollection
(DataSpace.CSpace);
1609
ItemCollection contextCSpaceCollection = MetadataWorkspace.
GetItemCollection
(DataSpace.CSpace);
1614
MetadataWorkspace.RegisterItemCollection(connectionWorkspace.
GetItemCollection
(DataSpace.SSpace));
1615
MetadataWorkspace.RegisterItemCollection(connectionWorkspace.
GetItemCollection
(DataSpace.CSSpace));
2890
ObjectItemCollection ospaceItems = (ObjectItemCollection)MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace);
3308
return (StoreItemCollection)entityConnection.GetMetadataWorkspace().
GetItemCollection
(DataSpace.SSpace);
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
369
if (!this.QueryState.ObjectContext.MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace).TryGetType(clrOfType.Name, clrOfType.Namespace ?? string.Empty, out ofType) ||
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
194
(EdmItemCollection)workspace.
GetItemCollection
(DataSpace.CSpace), init, members);
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
144
var sspace = (StoreItemCollection)m_compilerState.MetadataWorkspace.
GetItemCollection
(Metadata.Edm.DataSpace.SSpace);
System\Data\Spatial\SpatialHelpers.cs (1)
33
StoreItemCollection storeItemCollection = (StoreItemCollection)workspace.
GetItemCollection
(DataSpace.SSpace);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
511
_storeItemCollection = (StoreItemCollection)this.Workspace.
GetItemCollection
(DataSpace.SSpace);
System\Data\SqlClient\SqlProviderServices.cs (1)
72
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.MetadataWorkspace.
GetItemCollection
(DataSpace.SSpace);
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
301
Double currentVersion = ((EdmItemCollection)this.ObjectContext.MetadataWorkspace.
GetItemCollection
(DataSpace.CSpace)).EdmVersion;
966
ObjectItemCollection objectItemCollection = (ObjectItemCollection)this.ObjectContext.MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace);
1045
ObjectItemCollection objectItemCollection = (ObjectItemCollection)workspace.
GetItemCollection
(DataSpace.OSpace);
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
32
_objectSpaceItems = (ObjectItemCollection)_context.MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace);
System.Web.Entity (6)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
235
var objectItemCollection = (ObjectItemCollection)(ocWorkspace.
GetItemCollection
(DataSpace.OSpace));
242
var objectItemCollection = (ObjectItemCollection)(ocWorkspace.
GetItemCollection
(DataSpace.OSpace));
System\Data\WebControls\EntityDataSourceView.cs (3)
362
Context.MetadataWorkspace.
GetItemCollection
(DataSpace.CSpace),
1483
if (!EntityDataSourceUtil.IsTypeOrSubtypeOf(EntitySet.ElementType, cSpaceType, Context.MetadataWorkspace.
GetItemCollection
(DataSpace.CSpace)))
1546
(ObjectItemCollection)(Context.MetadataWorkspace.
GetItemCollection
(DataSpace.OSpace));
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (1)
75
1 < EntityDataSourceUtil.GetTypeAndSubtypesOf(entityType, csWorkspace.
GetItemCollection
(DataSpace.CSpace), true).Count())