Hi,
But there is another problem. Please consider the following code
string str = "some passthrusql";
var query = new PassthruEsqlQuery(typeof(Subaccount), str);
if above query return record(one or more) then its working fine but if not it is throwing an exception, Below are the details.
IdeaBlade.EntityModel.v4.EntityServerException: Sequence contains no elements ---> System.InvalidOperationException: Sequence contains no elements.