2 instantiations of MetadataException
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (2)
318return new MetadataException(message, inner); 322return new MetadataException(message);
16 references to MetadataException
System.Data.Entity (15)
System\Data\Common\EntitySql\CqlQuery.cs (5)
54/// <exception cref="System.Data.MetadataException">Thrown when metadata related service requests fail</exception> 92/// <exception cref="System.Data.MetadataException">Thrown when metadata related service requests fail</exception> 202/// <exception cref="System.Data.MetadataException">Thrown as inner exception of a EntityException when metadata related service requests fail.</exception> 238/// <exception cref="System.Data.MetadataException">Thrown as inner exception of a EntityException when metadata related service requests fail.</exception> 292catch (System.Data.MetadataException metadataException)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
50/// <exception cref="System.Data.MetadataException">Thrown when metadata related service requests fail</exception> 83/// <exception cref="System.Data.MetadataException">Thrown when metadata related service requests fail</exception>
System\Data\Common\EntityUtil.cs (5)
316static internal MetadataException Metadata(string message, Exception inner) 320static internal MetadataException Metadata(string message) 527static internal MetadataException InvalidSchemaEncountered(string errors) { 534static internal MetadataException InvalidCollectionForMapping(DataSpace space) { 567static internal MetadataException DifferentSchemaVersionInCollection(string itemCollectionType, double versionToRegister, double currentSchemaVersion)
System\Data\Metadata\EdmItemCollection.cs (1)
110/// <exception cref="System.Data.MetadataException">For errors related to invalid schemas.</exception>
System\Data\Metadata\MetadataWorkspace.cs (1)
51/// <exception cref="MetadataException"></exception>
System\Data\Metadata\StoreItemCollection.cs (1)
145/// <exception cref="System.Data.MetadataException">For errors related to invalid schemas.</exception>
System.Data.Entity.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
202catch (MetadataException e)