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> state, ExtractType stateType ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub ApplyState ( _ entity As Entity, _ state As IDictionary(Of String, Object), _ stateType As ExtractType _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void ApplyState( Entity^ entity, IDictionary<String^, Object^>^ state, ExtractType stateType ) |
Parameters
- entity
- Type: Entity
Target entity
- state
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
IDictionary of DataMembers keyed by DataMember name
- stateType
- Type: RiaServicesContrib..::..ExtractType
EntityStateType of state to be applied