I know there are .net champs. Need a small info / suggestion / solution for below scenario.
I have a table with the field name and field type (typically system types like int, date, double). I need to create a context specific method which will retrieve these values and by using Relational Operators compare the actual values.
for ex I have startdate and enddate available in a table with date types. I need compare these two types and check if startdate is greater than enddate. I get the actual values for startdate and enddate from XML. While reading XML I need to convert these
values to date type and compare them using Relational Operator.
I do have a table with all Relational Operators and need to use them from the table as well.
I know using if, else, switch we can perform. But if the business requirement changes I might need to add more Relational Operators to table and start using them. So I cannot hardcode anything in the code.
Thanks in Advance folks
View Complete Post