MetadataWorkspace.GetRelevantMembersForUpdate Method (EntitySetBase, EntityTypeBase, Boolean)

.NET Framework (current version)
 

Returns members of a given EntitySet/EntityType for which original values are needed when modifying an entity.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate(
	EntitySetBase entitySet,
	EntityTypeBase entityType,
	bool partialUpdateSupported
)

Parameters

entitySet
Type: System.Data.Metadata.Edm.EntitySetBase

An EntitySet belonging to the C-Space.

entityType
Type: System.Data.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.

.NET Framework
Available since 4.5
Return to top
Show: