Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Rules Expression
Message
From
04/08/2015 19:32:42
 
 
To
04/08/2015 19:02:44
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01622904
Message ID:
01622921
Views:
33
>Would you happen to have a code snippet showing how this was done.
>

I'm Sorry, but I no long have that source code. Besides, it was a internal project. I developed a Test Suite application that would execute rare VB.NET code (Test cases) using Reflection. I wrote it using VB.NET 2003 back in 2005. The company closed their Seattle doors, and moved to Nashville, TN. and I elected not to follow them. Even though I competed the Test Suite application, I did not have the opportunity to train others on the test team on how to design and develop the Test Cases, so I don't know if it ever got used.

When I was designing the Test Suite, I was looking for a .NET equivalent to VFP's ExecScript() function. Reflection seemed to do the trick. I am sure with a little Googling you could find some example and demos on how to develop with it.

>I have this expression that i retrieve from my sql table: businessobject.idnumber > 15. I have others but i am trying to see how this would be constructed in generic NET method sense. I have many expressions in the tables so i know i will have to loop through the various expressions and evaluating them 1 at a time. Of course the result value from the evaluation is true or false.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform