MetadataWorkspace.GetRelevantMembersForUpdate Method (EntitySetBase, EntityTypeBase, Boolean)
Returns members of a given EntitySet / EntityType for which original values are needed when modifying an entity.
Assembly: EntityFramework (in EntityFramework.dll)
public virtual ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate( EntitySetBase entitySet, EntityTypeBase entityType, bool partialUpdateSupported )
Parameters
- entitySet
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntitySetBase
An EntitySet belonging to the C-Space.
- entityType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityTypeBase
An EntityType that participates in the given EntitySet .
- partialUpdateSupported
-
Type:
System.Boolean
true if entities may be updated partially; otherwise, false.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<EdmMember>The EdmMembers for which original value is required.