EntityConnection.GetMetadataWorkspace Method ()
Returns the MetadataWorkspace associated with this EntityConnection .
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] public virtual MetadataWorkspace GetMetadataWorkspace()
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.MetadataWorkspaceThe MetadataWorkspace associated with this EntityConnection .
Exception | Condition |
---|---|
MetadataException | The inline connection string contains an invalid Metadata keyword value. |