18 references to DataSpace
System.Data.Entity (16)
System\Data\Metadata\Converter.cs (2)
151
if (convertedItemCache.ItemCollection.
DataSpace
== DataSpace.CSpace)
158
Debug.Assert(convertedItemCache.ItemCollection.
DataSpace
== DataSpace.SSpace, "Did you add a new space?");
System\Data\Metadata\Edm\ItemCollection.cs (1)
90
Debug.Assert(item.DataSpace == this.
DataSpace
);
System\Data\Metadata\MetadataWorkspace.cs (13)
201
switch (collection.
DataSpace
)
242
Debug.Assert(collection.
DataSpace
== DataSpace.OCSpace, "Invalid DataSpace Enum value: " + collection.
DataSpace
);
252
throw EntityUtil.InvalidCollectionForMapping(collection.
DataSpace
);
256
throw EntityUtil.ItemCollectionAlreadyRegistered(collection.
DataSpace
);
260
if (collection.
DataSpace
== DataSpace.CSpace)
264
throw EntityUtil.InvalidCollectionSpecified(collection.
DataSpace
);
268
if (collection.
DataSpace
== DataSpace.SSpace)
272
throw EntityUtil.InvalidCollectionSpecified(collection.
DataSpace
);
276
if (collection.
DataSpace
== DataSpace.CSSpace)
280
throw EntityUtil.InvalidCollectionSpecified(collection.
DataSpace
);
285
throw EntityUtil.InvalidCollectionSpecified(collection.
DataSpace
);
298
switch (itemCollectionToRegister.
DataSpace
)
System.Data.Entity.Design (2)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
60
MetadataItemSerializer serializer = new MetadataItemSerializer(writer, collection.
DataSpace
== DataSpace.CSpace, errorsLookup, schemaVersion);
90
MetadataItemSerializer commmentSerializer = new MetadataItemSerializer(commentWriter, collection.
DataSpace
== DataSpace.CSpace, errorsLookup, schemaVersion);