Applies extracted state of data members to entity
Namespace: RiaServicesContrib.ExtensionsAssembly: RiaServicesContrib.EntityTools (in RiaServicesContrib.EntityTools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static void ApplyState( this Entity entity, IDictionary<string, Object> originalState, IDictionary<string, Object> modifiedState ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub ApplyState ( _ entity As Entity, _ originalState As IDictionary(Of String, Object), _ modifiedState As IDictionary(Of String, Object) _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void ApplyState( Entity^ entity, IDictionary<String^, Object^>^ originalState, IDictionary<String^, Object^>^ modifiedState ) |
Parameters
- entity
- Type: Entity
Target entity
- originalState
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
IDictionary of OriginalState DataMembers keyed by DataMember name
- modifiedState
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
IDictionary of modified (aka current) state DataMembers keyed by DataMember name