Hi guys I need some like php eval function to run piece of code that is storage in the DataBase, like:
"UidAsLong == 18" or "Name.Equals('Visa')" .
So, I have to check if these piece of code match with an object, like PaymentInfo, so if PaymentInfo.UidAsLong == 18 the function may return true, or if the name equals Visa...
These piece of code in database can assume any C# attribute comparison expression, so, I need a function like CheckMatch(object payment, string stringToCheck) that returns me True or false.
Thanks