I have an ObjectStateEntry
"entry". I need to get a property value from this "entry" like so, but I don't know how to specify the property I want. I use entry.OriginalValues(propName)
but then what?
views:
32answers:
1
+2
A:
As far as I understand you can try something like this:
entry.CurrentValues.Item[propName];
or
entry.CurrentValues.GetValue(entry.CurrentValues.GetOrdinal(propName))
Yury Tarabanko
2010-07-02 12:30:17
Very nice. Thanks.
davemackey
2010-07-02 13:00:33