EntityKey.GetEntitySet(MetadataWorkspace) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the entity set for this entity key from the given metadata workspace.
public:
System::Data::Metadata::Edm::EntitySet ^ GetEntitySet(System::Data::Metadata::Edm::MetadataWorkspace ^ metadataWorkspace);
public System.Data.Metadata.Edm.EntitySet GetEntitySet (System.Data.Metadata.Edm.MetadataWorkspace metadataWorkspace);
member this.GetEntitySet : System.Data.Metadata.Edm.MetadataWorkspace -> System.Data.Metadata.Edm.EntitySet
Public Function GetEntitySet (metadataWorkspace As MetadataWorkspace) As EntitySet
Parameters
- metadataWorkspace
- MetadataWorkspace
The metadata workspace that contains the entity.
Returns
The EntitySet for the entity key.
Exceptions
The entity set could not be located in the specified metadata workspace.
Remarks
The entity set is accessed based on the entity container name and entity set name of the key.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.