3 writes to _metadataWorkspace
System.Data.Entity (3)
System\Data\EntityClient\EntityConnection.cs (3)
134
_metadataWorkspace
= workspace;
444
_metadataWorkspace
= workspace;
918
this.
_metadataWorkspace
= null;
9 references to _metadataWorkspace
System.Data.Entity (9)
System\Data\EntityClient\EntityConnection.cs (9)
165
_metadataWorkspace
.MetadataWorkspaceId,
409
Debug.Assert(
_metadataWorkspace
!= null || _effectiveConnectionOptions != null, "The effective connection options is null, which should never be");
410
if (
_metadataWorkspace
== null ||
411
(initializeAllCollections && !
_metadataWorkspace
.IsItemCollectionAlreadyRegistered(DataSpace.SSpace)))
418
if (
_metadataWorkspace
== null)
448
edmItemCollection = (EdmItemCollection)
_metadataWorkspace
.GetItemCollection(DataSpace.CSpace);
451
if (initializeAllCollections && !
_metadataWorkspace
.IsItemCollectionAlreadyRegistered(DataSpace.SSpace))
453
LoadStoreItemCollections(
_metadataWorkspace
, _storeConnection, _providerFactory, _effectiveConnectionOptions, edmItemCollection, _artifactLoader);
460
return
_metadataWorkspace
;