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