EntityKey::GetEntitySet Method (MetadataWorkspace^)
.NET Framework (current version)
Gets the entity set for this entity key from the given metadata workspace.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Parameters
- metadataWorkspace
-
Type:
System.Data.Metadata.Edm::MetadataWorkspace^
The metadata workspace that contains the entity.
| Exception | Condition |
|---|---|
| ArgumentException | The entity set could not be located in the specified metadata workspace. |
The entity set is accessed based on the entity container name and entity set name of the key.
.NET Framework
Available since 3.5
Available since 3.5
Show: