I have a number of data access methods that accept a dynamic object parameter (i.e., dynamic foo). I can't use an interface to define to type the input parameter due to existing code. I am setting properties in the data access methods, but using dynamic without checking to see if the properties/methods exist makes me nervous.
So I am looking for a way to check the runtime properties/methods of a dynamic object, but I would rather not use reflection due to the perf impact. Is there another/recommended way to query the properties/methods of a dynamic object?
Thanks, Erick