G
Guest
Hello,
Object instance is loaded into process with data in its Fields. There is a
db table, that dictates what properties values are needed for a stored
procedure call.
Is it possible to get value of a propery by its name?
so instead of this:
switch (propertyName)
{
case "AA" :
x = myObj.AA;
break;
//and so on
}
I want to do something like this:
x = myObj.PropertyValueGetter(propertyName);
Object instance is loaded into process with data in its Fields. There is a
db table, that dictates what properties values are needed for a stored
procedure call.
Is it possible to get value of a propery by its name?
so instead of this:
switch (propertyName)
{
case "AA" :
x = myObj.AA;
break;
//and so on
}
I want to do something like this:
x = myObj.PropertyValueGetter(propertyName);