Hi Team,
I am actually trying to do something like this https://customerfx.com/article/executing-direct-sql-statements-in-a-process-or-configuration-web-service-in-creatio-formerly-bpmonline/ using CustomQuery
Please see below :
But I am getting all these errors :
Though I checked System.Data is already there.
Can anyone please help me with this issue ?
Like
Hi Akshit,
Also add using the Terrasoft.Core.Entities namespace to your code as well as System, Terrasoft.Core.Factories and System.Runtime.Serialization namespaces.
Best regards,
Oscar
Akshit,
You should also add the System.Data.IDataReader namespace to the code.
Best regards,
Oscar
Akshit,
Hello Akshit,
reader.GetColumnValue<T> is an extension method defined in Terrasoft.Common. Add that as a using directive and it should fix your issue.
Ryan