Metodo MetadataWorkspace.GetRelevantMembersForUpdate
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Restituisce i membri di un oggetto EntitySet / EntityType specificato di cui sono necessari i valori originali durante la modifica di un'entità.
Spazio dei nomi: System.Data.Entity.Core.Metadata.Edm
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Overridable Function GetRelevantMembersForUpdate ( _
entitySet As EntitySetBase, _
entityType As EntityTypeBase, _
partialUpdateSupported As Boolean _
) As ReadOnlyCollection(Of EdmMember)
'Utilizzo
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>
Parametri
- entitySet
Tipo: System.Data.Entity.Core.Metadata.Edm.EntitySetBase
Oggetto EntitySet appartenente allo spazio C.
- entityType
Tipo: System.Data.Entity.Core.Metadata.Edm.EntityTypeBase
Oggetto EntityType che fa parte dell'oggetto EntitySet specificato.
- partialUpdateSupported
Tipo: System.Boolean
true se le entità possono essere aggiornate parzialmente; in caso contrario, false.
Valore restituito
Tipo: System.Collections.ObjectModel.ReadOnlyCollection<EdmMember>
Oggetti EdmMember per cui è richiesto il valore originale.