1 write to _workspace
System.Data.Entity (1)
System\Data\Objects\ObjectContext.cs (1)
247
_workspace
= RetrieveMetadataWorkspaceFromConnection();
13 references to _workspace
System.Data.Entity (13)
System\Data\Objects\ObjectContext.cs (13)
257
if (null !=
_workspace
)
260
if (!
_workspace
.IsItemCollectionAlreadyRegistered(DataSpace.OSpace))
263
_workspace
.RegisterItemCollection(itemCollection);
267
_workspace
.GetItemCollection(DataSpace.OCSpace);
330
return
_workspace
;
343
_cache = new ObjectStateManager(
_workspace
);
358
_perspective = new ClrPerspective(
_workspace
);
545
key.ValidateEntityKey(
_workspace
, entitySetFromKey);
707
key.ValidateEntityKey(
_workspace
, entitySet);
902
key.ValidateEntityKey(
_workspace
, entitySet);
947
key.ValidateEntityKey(
_workspace
, entitySet);
1108
key.ValidateEntityKey(
_workspace
, entitySet);
2495
key.ValidateEntityKey(
_workspace
, entitySet, true /*isArgumentException*/, "key");