The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityConnection::GetMetadataWorkspace Method ()
Entity Framework 6.0
Returns the MetadataWorkspace associated with this EntityConnection .
Assembly: EntityFramework (in EntityFramework.dll)
public: [SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] virtual MetadataWorkspace^ GetMetadataWorkspace()
Return Value
Type: System.Data.Entity.Core.Metadata.Edm::MetadataWorkspace^The MetadataWorkspace associated with this EntityConnection .
| Exception | Condition |
|---|---|
| MetadataException | The inline connection string contains an invalid Metadata keyword value. |
Show: