string?IWcfLinqService.ExecuteScalar(string?configuration, string queryData) { try { return(_linqService.ExecuteScalar(configuration, queryData)); } catch (Exception exception) when(_transferInternalExceptionToClient) { throw new FaultException(exception.ToString()); } }
GrpcString IGrpcLinqService.ExecuteScalar(GrpcConfigurationQuery caq, CallContext context) { try { return(_linqService.ExecuteScalar(caq.Configuration, caq.QueryData)); } catch (Exception exception) when(_transferInternalExceptionToClient) { throw new RpcException(new Status(StatusCode.Unknown, exception.ToString())); } }