HOWTO CAST ParameterDirection
I have a big problem. I have an outside XML file where i can find information at runtime to an object datatype for an oracle db
So i can provide some form of dynamics with the code. My problems arrive when i read the value of the node of the property that i want.
as soon as i read with
string test=xml..value
i read that and i want to convert to ParameterDirection (this is an enum)
how can arrive to that. I think that with an object i resolve but i cannot
ParameterDirection test2=(ParameterDirection)test does an ivalid cast exception
Please hellp me