MetadataWorkspace.GetRequiredOriginalValueMembers 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
注意:這個 API 現在已經過時。
從實體集和實體類型取得原始值成員。
命名空間: System.Data.Entity.Core.Metadata.Edm
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<ObsoleteAttribute("Use MetadataWorkspace.GetRelevantMembersForUpdate(EntitySetBase, EntityTypeBase, bool) instead")> _
Public Overridable Function GetRequiredOriginalValueMembers ( _
entitySet As EntitySetBase, _
entityType As EntityTypeBase _
) As IEnumerable(Of EdmMember)
'用途
Dim instance As MetadataWorkspace
Dim entitySet As EntitySetBase
Dim entityType As EntityTypeBase
Dim returnValue As IEnumerable(Of EdmMember)
returnValue = instance.GetRequiredOriginalValueMembers(entitySet, _
entityType)
[ObsoleteAttribute("Use MetadataWorkspace.GetRelevantMembersForUpdate(EntitySetBase, EntityTypeBase, bool) instead")]
public virtual IEnumerable<EdmMember> GetRequiredOriginalValueMembers(
EntitySetBase entitySet,
EntityTypeBase entityType
)
[ObsoleteAttribute(L"Use MetadataWorkspace.GetRelevantMembersForUpdate(EntitySetBase, EntityTypeBase, bool) instead")]
public:
virtual IEnumerable<EdmMember^>^ GetRequiredOriginalValueMembers(
EntitySetBase^ entitySet,
EntityTypeBase^ entityType
)
[<ObsoleteAttribute("Use MetadataWorkspace.GetRelevantMembersForUpdate(EntitySetBase, EntityTypeBase, bool) instead")>]
abstract GetRequiredOriginalValueMembers :
entitySet:EntitySetBase *
entityType:EntityTypeBase -> IEnumerable<EdmMember>
[<ObsoleteAttribute("Use MetadataWorkspace.GetRelevantMembersForUpdate(EntitySetBase, EntityTypeBase, bool) instead")>]
override GetRequiredOriginalValueMembers :
entitySet:EntitySetBase *
entityType:EntityTypeBase -> IEnumerable<EdmMember>
public function GetRequiredOriginalValueMembers(
entitySet : EntitySetBase,
entityType : EntityTypeBase
) : IEnumerable<EdmMember>
參數
- entitySet
類型:System.Data.Entity.Core.Metadata.Edm.EntitySetBase
要從中擷取原始值的實體集。
- entityType
類型:System.Data.Entity.Core.Metadata.Edm.EntityTypeBase
要擷取原始值的實體類型。
傳回值
類型:System.Collections.Generic.IEnumerable<EdmMember>
實體集和實體類型中的原始值成員。