EntityConnection.GetMetadataWorkspace Method ()

 

Returns the MetadataWorkspace associated with this EntityConnection .

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public virtual MetadataWorkspace GetMetadataWorkspace()

Exception Condition
MetadataException

The inline connection string contains an invalid Metadata keyword value.