Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Rules Expression
Message
De
04/08/2015 06:26:43
 
 
À
03/08/2015 18:01:46
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01622904
Message ID:
01622910
Vues:
48
>Hello Everyone.
>
>I have all my syntax expressions in a sql table. I was wanting to write a method in NET that would get those expressions from SQL Table and evaluate the expressions via True or False. For example, BusinessObject.Field > 1 is an example of the expression in the table. i what to check the expression and store the result value of true or false.
>
>Do any have any code snippet that i can use. I am trying to create a generic method that would traverse through expressions in a sql table and evaluate them.

In the past I did sometime similar o what you are attempting. At the time, I used .NET Reflection to evaluate a expression in a string at run-time. I not sure if it is still available, or if something else has replaced it. but it may be worth investigating.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform