14 references to IsItemCollectionAlreadyRegistered
System.Data.Entity (14)
System\Data\EntityClient\EntityConnection.cs (6)
105
if (!workspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSpace))
109
if(!workspace.
IsItemCollectionAlreadyRegistered
(DataSpace.SSpace))
113
if(!workspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSSpace))
411
(initializeAllCollections && !_metadataWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.SSpace)))
451
if (initializeAllCollections && !_metadataWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.SSpace))
969
Debug.Assert(workspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSpace), "C-Space must be loaded before loading S or C-S space");
System\Data\Metadata\MetadataWorkspace.cs (2)
1310
Debug.Assert(this.
IsItemCollectionAlreadyRegistered
(DataSpace.CSSpace) &&
1311
other.
IsItemCollectionAlreadyRegistered
(DataSpace.CSSpace),
System\Data\Objects\ObjectContext.cs (6)
260
if (!_workspace.
IsItemCollectionAlreadyRegistered
(DataSpace.OSpace))
1588
if (!MetadataWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.SSpace))
1590
Debug.Assert(!MetadataWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSSpace), "ObjectContext has C-S metadata but not S?");
1600
Debug.Assert(connectionWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSpace) &&
1601
connectionWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.SSpace) &&
1602
connectionWorkspace.
IsItemCollectionAlreadyRegistered
(DataSpace.CSSpace),