Ability to set environmental variables
A way to easily set environmental variables. New wave of cloud apps/frameworks seem to leverage this as a way of injecting values into the app.
4
votes
Andrew Stakhov
shared this idea
-
Have you tried Environment.SetEnvironmentVariable? You can also write a method in My Extensions to set variables, and then call it in any query. For instance:
public static class MyVar
{
public static void Test()
{
Environment.SetEnvironmentVariable ("foo", "value");
Environment.SetEnvironmentVariable ("bar", "value");
}
}Then just call MyVar.Test();