C# sdk

Is there a way to pass comparison operator with UpdatedAt to get the latest dataset, similar to this API syntax ?

Hi @ibekker thanks for using our Forum.

Unfortunately, Currently, we don’t support comparison operators in our C# library. Thanks for bringing up this, I will bring it up on the table during our next discussions

UPDATE:

After another round of checks we identified we are exporting publicly the resources (ParameterWithOperator class and ParameterOperator enum) to use the operators, you could use them as the following:

var runDateParameter = new ParameterWithOperator<DateTimeOffset?>(record.UpdatedAt(), ParameterOperator.Gt);

var runs   = _apiClient.Value.GetAllEconRuns(project.Id, scenario.Id, runDate: runDateParameter)

Have a great day.

Perfect! Thank you for the update.