共用方式為


MetadataWorkspace.GetRelevantMembersForUpdate 方法

定義

傳回所指 EntitySet/EntityType 的成員,修改實體時需要這些成員的原始值。

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::EdmMember ^> ^ GetRelevantMembersForUpdate(System::Data::Metadata::Edm::EntitySetBase ^ entitySet, System::Data::Metadata::Edm::EntityTypeBase ^ entityType, bool partialUpdateSupported);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmMember> GetRelevantMembersForUpdate (System.Data.Metadata.Edm.EntitySetBase entitySet, System.Data.Metadata.Edm.EntityTypeBase entityType, bool partialUpdateSupported);
member this.GetRelevantMembersForUpdate : System.Data.Metadata.Edm.EntitySetBase * System.Data.Metadata.Edm.EntityTypeBase * bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmMember>
Public Function GetRelevantMembersForUpdate (entitySet As EntitySetBase, entityType As EntityTypeBase, partialUpdateSupported As Boolean) As ReadOnlyCollection(Of EdmMember)

參數

entitySet
EntitySetBase

屬於 C-Space 的 EntitySet

entityType
EntityTypeBase

參與指定之 EntityTypeEntitySet

partialUpdateSupported
Boolean

如果實體可部分更新則為 true,否則為 false

傳回

需要其原始值的 EdmMember

適用於