Just wondering if anyone else has seen this before. It might just be me as it's late in the day.
I've writen a code block where I can pass in a value which is evaluated by a switch statement to then set a variable accordingly.
This variable is used to access a database table via the ExecuteQuery method.
Code: Select all
var getVolume = context.ExecuteQuery(typeof(int),"SELECT COUNT(*) as vol FROM my_table1").ToString().FirstOrDefault();
thanks in advance!