次の方法で共有


MetadataWorkspace.GetRelevantMembersForUpdate メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

エンティティの変更時に元の値を必要とする特定の EntitySet/EntityType のメンバーを返します。

名前空間:  System.Data.Entity.Core.Metadata.Edm
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Overridable Function GetRelevantMembersForUpdate ( _
    entitySet As EntitySetBase, _
    entityType As EntityTypeBase, _
    partialUpdateSupported As Boolean _
) As ReadOnlyCollection(Of EdmMember)
'使用
Dim instance As MetadataWorkspace 
Dim entitySet As EntitySetBase 
Dim entityType As EntityTypeBase 
Dim partialUpdateSupported As Boolean 
Dim returnValue As ReadOnlyCollection(Of EdmMember)

returnValue = instance.GetRelevantMembersForUpdate(entitySet, _
    entityType, partialUpdateSupported)
public virtual ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate(
    EntitySetBase entitySet,
    EntityTypeBase entityType,
    bool partialUpdateSupported
)
public:
virtual ReadOnlyCollection<EdmMember^>^ GetRelevantMembersForUpdate(
    EntitySetBase^ entitySet, 
    EntityTypeBase^ entityType, 
    bool partialUpdateSupported
)
abstract GetRelevantMembersForUpdate : 
        entitySet:EntitySetBase * 
        entityType:EntityTypeBase * 
        partialUpdateSupported:bool -> ReadOnlyCollection<EdmMember> 
override GetRelevantMembersForUpdate : 
        entitySet:EntitySetBase * 
        entityType:EntityTypeBase * 
        partialUpdateSupported:bool -> ReadOnlyCollection<EdmMember> 
public function GetRelevantMembersForUpdate(
    entitySet : EntitySetBase, 
    entityType : EntityTypeBase, 
    partialUpdateSupported : boolean
) : ReadOnlyCollection<EdmMember>

パラメーター

  • partialUpdateSupported
    型 : System.Boolean
    エンティティを部分的に更新できる場合は true、それ以外の場合は false。

戻り値

型 : System.Collections.ObjectModel.ReadOnlyCollection<EdmMember>
元の値が必要な EdmMember

参照

参照

MetadataWorkspace クラス

System.Data.Entity.Core.Metadata.Edm 名前空間