how to get object state entry for DataEntitySource
-
domingo, 06 de mayo de 2012 1:43
i have instantiated declaratively a DataEntitySource on an aspx page. how do i get its ObjectStateEntry or its ObjectStateManager? The ultimate goal is to get its OriginalValues.
I can reference DataEntitySource in a RadGrid Update event but it does not appear to have properties for grabbing either of these other objects.
Todas las respuestas
-
domingo, 06 de mayo de 2012 3:04
the object context is obtained by handling the ContextCreated event of the EntityDataSource during which time a reference to the context may be saved for subsequent use.- Marcado como respuesta tony bonn domingo, 06 de mayo de 2012 3:04
-
lunes, 07 de mayo de 2012 1:46Moderador
Hi bony bonn,
Welcome to MSDN Forum.
I'm glad to hear that you have solved the issue, and thanks for your sharing.
Best Regards
Allen Li [MSFT]
MSDN Community Support | Feedback to us

