Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent to eval()
Message
De
29/03/2010 17:00:02
 
 
À
29/03/2010 16:50:29
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01457734
Message ID:
01457952
Vues:
38
>Fair enough. Whereas people working with artificial intelligence or anything that includes the concept of "learning" might tell you that run-time evaluations/conditionals are essential. Even if you can achieve it mostly using standard sql.

The approach I am using is not perfect however. By that, I mean that it doesn't cover it all. So, in the very last case, there could be, and there is, situations where I have been forced to use the Reflection approach. One of them was when the client wanted to be able to customize the logic for several button operations. So, based on this approach, this has led us to build the application, for that particular request, to evaluate a method to be executed. So, the method name comes from the table. As it is not known in the code, we had to use Reflection to evaluate all that and execute it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform